Thread: Mass Vote Command [PI]

Results 1 to 5 of 5
  1. #1 Mass Vote Command [PI] 
    Banned
    Join Date
    Oct 2013
    Posts
    145
    Thanks given
    6
    Thanks received
    0
    Rep Power
    0
    Can someone give me the command to make every1 online get sent to vote page. I don't know it and im a bad coder :\ please help.
    Reply With Quote  
     

  2. #2  
    Registered Member Averios's Avatar
    Join Date
    Aug 2013
    Posts
    30
    Thanks given
    1
    Thanks received
    7
    Rep Power
    11
    Code:
    		if (cmd.startsWith("vote")) {
    			           c.getPA().sendFrame126("URL", 12000);
    		        }
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Aug 2010
    Posts
    203
    Thanks given
    7
    Thanks received
    13
    Rep Power
    44
    Quote Originally Posted by LC Rsps View Post
    Code:
    		if (cmd.startsWith("vote")) {
    			           c.getPA().sendFrame126("URL", 12000);
    		        }
    no wrong.
    Reply With Quote  
     

  5. #4  
    Registered Member Averios's Avatar
    Join Date
    Aug 2013
    Posts
    30
    Thanks given
    1
    Thanks received
    7
    Rep Power
    11
    Oh my bad, did not see it was ment for everyone.
    Here:
    Code:
    		if (playerCommand.equals("vote")) {
    			for (int j = 0; j < PlayerHandler.players.length; j++) {
    				if (PlayerHandler.players[j] != null) {
    					Client all = (Client)PlayerHandler.players[j];
    					all.getPA().sendFrame126("URL", 12000);
    				}
    			}
    		}
    Reply With Quote  
     

  6. Thankful user:


  7. #5  
    Banned
    Join Date
    Oct 2013
    Posts
    145
    Thanks given
    6
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by LC Rsps View Post
    Oh my bad, did not see it was ment for everyone.
    Here:
    Code:
    		if (playerCommand.equals("vote")) {
    			for (int j = 0; j < PlayerHandler.players.length; j++) {
    				if (PlayerHandler.players[j] != null) {
    					Client all = (Client)PlayerHandler.players[j];
    					all.getPA().sendFrame126("URL", 12000);
    				}
    			}
    		}
    Thanks!
    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. [PI] ::Vote Command With Repeating Message [PI]
    By Uncalled in forum Tutorials
    Replies: 29
    Last Post: 07-14-2015, 05:59 PM
  2. ::vote command PI
    By Stevie in forum Help
    Replies: 2
    Last Post: 10-14-2012, 09:36 PM
  3. Voting 4 cash command [PI]
    By thim slug in forum Help
    Replies: 0
    Last Post: 12-20-2010, 12:21 PM
  4. [pi]voting command
    By jessie thompson in forum Requests
    Replies: 0
    Last Post: 11-02-2010, 09:38 PM
  5. PI ::vote command?
    By echomatic in forum Help
    Replies: 12
    Last Post: 08-11-2010, 10:14 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
  •