Thread: [PI]Looking for ::help command [PI]

Results 1 to 3 of 3
  1. #1 [PI]Looking for ::help command [PI] 
    Registered Member
    Join Date
    Dec 2010
    Posts
    710
    Thanks given
    41
    Thanks received
    3
    Rep Power
    0
    im looknig for a command ::help that when you type that command, it sends somekind of notification to moderators/admins/owners and then on the new players screen (who typed ::help) reas [staffname] is comnig to help you be patient help pls
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Sep 2010
    Posts
    224
    Thanks given
    15
    Thanks received
    14
    Rep Power
    0
    Hope this will help
    Code:
    		if (playerCommand.startsWith("help")) {
        for (int j = 0; j < Server.playerHandler.players.length; j++) {
            if (Server.playerHandler.players[j] != null) {
                if(Server.playerHandler.players[j].playerRights == 3) {
                    Client staff = (Client)Server.playerHandler.players[j];
                    staff.sendMessage(Misc.optimizeText(c.playerName) + " needs your help!</col>");
                } else {
                    return;
                }
            }
        }
    }
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2010
    Posts
    710
    Thanks given
    41
    Thanks received
    3
    Rep Power
    0
    Tysm
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 50
    Last Post: 04-17-2014, 02:19 PM
  2. Replies: 3
    Last Post: 07-02-2011, 01:57 AM
  3. Replies: 4
    Last Post: 12-21-2010, 09:36 PM
  4. Replies: 4
    Last Post: 12-19-2010, 11:46 PM
  5. Replies: 4
    Last Post: 02-13-2009, 12:32 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •