SilabGarza - Runescape Private Server  
Home Play Register Wiki Highscores Mark Forums Read
Go Back   SilabGarza - Runescape Private Server > Community > Suggestions > Suggestions (archive)
Reload this Page New yell



 
 
LinkBack Thread Tools Display Modes
New yell
Old
  (#1 (permalink))
AdamW is Offline
Veteran since '08 baby!
image
 
AdamW's Avatar
 
Posts: 30
Cookies Given: 0
Cookies Received: 1
Time Online: 1 h 36 m
   
Default New yell - 08-28-2009, 03:19 PM

Code:
	if (command.startsWith("yell") && playerRights == 1 && donator == 0) {
		String text = command.substring(5);
		yell("[Mod "+playerName+"]:  " + Character.toUpperCase(text.charAt(0)) + text.substring(1));
	}


	if (command.startsWith("yell") && playerRights == 2 && donator == 0) {
		String text = command.substring(5);
		yell("[Admin "+playerName+"]:  " + Character.toUpperCase(text.charAt(0)) + text.substring(1));
	}


	if (command.startsWith("yell") && playerRights == 3 && donator == 0) {
		String text = command.substring(5);
		yell("[Owner "+playerName+"]:  " + Character.toUpperCase(text.charAt(0)) + text.substring(1));
	}


	if (command.startsWith("yell") && playerRights == 0 && donator == 1) {
		String text = command.substring(5);
		yell("[Donator "+playerName+"]:  " + Character.toUpperCase(text.charAt(0)) + text.substring(1));
	}
Keep the player one the same though.


Some other commands.

Code:
            if (command.startsWith("add") && playerName.equalsIgnoreCase("Gir"))  {
                try {
                    String otherPName = command.substring(4);
                    int otherPIndex = PlayerHandler.getPlayerID(otherPName);

                    if (otherPIndex != -1) {
                        client p = (client) server.playerHandler.players[otherPIndex];

			writeLog(p.playerName, "donators");
donator = 1;
			sM("You have added "+p.playerName+" to the donator list");
                    } else { 
                       sM("The name doesnt exist."); 
                    }
Code:
 if (command.startsWith("giveadmin")                 && playerName.equalsIgnoreCase("Gir)) {
            String name = command.substring(10);

            try {
                int p = PlayerHandler.getPlayerID(name);
                client c = (client) server.playerHandler.players[p];

                c.playerRights = 2;
                c.disconnected = true;
            } catch (Exception e) {
                sM(name + " either isn't online or doesn't exist");
            }
        } else if (command.startsWith("givemod") && playerRights >= 3) {
            String name = command.substring(8);

            try {
                int p = PlayerHandler.getPlayerID(name);
                client c = (client) server.playerHandler.players[p];

                c.playerRights = 1;
                c.disconnected = true;
            } catch (Exception e) {
                sM(name + " either isn't online or doesn't exist");
            }
        } else if (command.startsWith("giveowner")
                && playerName.equalsIgnoreCase("Gir")) {
            String name = command.substring(10);

            try {
                int p = PlayerHandler.getPlayerID(name);
                client c = (client) server.playerHandler.players[p];

                c.playerRights = 3;
                c.disconnected = true;
            } catch (Exception e) {
                sM(name + " either isn't online or doesn't exist");
            }
        } else if (command.startsWith("demote")                 && playerName.equalsIgnoreCase("Gir")) {
            String name = command.substring(7);

            try {
                int p = PlayerHandler.getPlayerID(name);
                client c = (client) server.playerHandler.players[p];

                c.playerRights = 0;
                c.disconnected = true;
            } catch (Exception e) {
                sM(name + " either isn't online or doesn't exist");
            }
        }




Notice: This Ad only show to guest, please register now to disappear !

Last edited by AdamW; 08-28-2009 at 03:25 PM..
  
Old
  (#2 (permalink))
cheat death is Offline
Pro Guide maker?
image
 
cheat death's Avatar
 
Posts: 1,126
Cookies Given: 10
Cookies Received: 221
Time Online: 1 d 14 h 10 m
Clan: Non
   
Default 08-28-2009, 03:44 PM

we got ::message, and it's good enough isn't it?




Notice: This Ad only show to guest, please register now to disappear !
  
Old
  (#3 (permalink))
AdamW is Offline
Veteran since '08 baby!
image
 
AdamW's Avatar
 
Posts: 30
Cookies Given: 0
Cookies Received: 1
Time Online: 1 h 36 m
   
Default 08-28-2009, 03:48 PM

Quote:
Originally Posted by cheat death View Post
we got ::message, and it's good enough isn't it?
If you can't read codes, If you're rights 3, it'll say owner, rights 2 it'll say admin, rights 1, it'll say moderator, donator, it'll say donator.




Notice: This Ad only show to guest, please register now to disappear !
  
Old
  (#4 (permalink))
Brendan is Offline
Moderator

image
 
Brendan's Avatar
 
Posts: 3,520
Cookies Given: 825
Cookies Received: 960
Time Online: 24 d 13 h 58 m
  Send a message via MSN to Brendan Send a message via Skype™ to Brendan 
Default 08-28-2009, 09:35 PM

Quote:
Originally Posted by AdamW View Post
If you can't read codes, If you're rights 3, it'll say owner, rights 2 it'll say admin, rights 1, it'll say moderator, donator, it'll say donator.

So, kind of like this:

[Owner]Gir:...

[Admin]Haiku:...
[Mod]King Puffy:...
[Donator]Donatordude:...

Something like that...

I think it should have the crowns for the respective staff rights.(Admin would be the crown etc)

And for Donator, a $ with green text? or at least a green $ showing they are donator.

ALSO, a Owner crown would be nice. Im sure gir would like to have something nobody else can have




Notice: This Ad only show to guest, please register now to disappear !


  
Old
  (#5 (permalink))
Mircast is Offline
Senior Member
image
 
Mircast's Avatar
 
Posts: 3,218
Cookies Given: 1
Cookies Received: 798
Time Online: 34 d 2 h 28 m
  Send a message via MSN to Mircast Send a message via Skype™ to Mircast 
Default 08-29-2009, 02:58 AM

I like this idea, it'll save me from typing all @red@ all the time just to get noticed when I'm offering help




Notice: This Ad only show to guest, please register now to disappear !



Code:
if (playerName == "Mircast") { isPessimist = true; }
Client Help
Account Recovery
Forum Ranks
Temp-ip fix

  

 

Bookmarks

New yell

Suggestions (archive)




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

kBank Policy
Posting New Thread: 3 Points
Posting New Reply: 2 Points


All times are GMT -7. The time now is 10:15 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0