Thread: how to loop the ::emote command ?

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 how to loop the ::emote command ? 
    Registered Member Santi Cazorla's Avatar
    Join Date
    Aug 2009
    Posts
    1,137
    Thanks given
    258
    Thanks received
    55
    Rep Power
    7
    how to loop the ::emote command ?

    when ever i do ::emote ### it always does it for a matter of seconds.. is there anyway of doing it so it dosnt stop.. until i do another command or sumtink
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Jan 2009
    Age
    31
    Posts
    2,661
    Thanks given
    66
    Thanks received
    207
    Rep Power
    0
    Code:
    else if(command.equalsIgnoreCase("anim")){
    	setAnimation(interger.parseInt(st.getNextToken)); //1 Time Animation Shows Entire Emote
    }
    else if(command.equalsIgnoreCase("emote")){
    	pEmote = interger.parseInt(st.getNextToken); //Keeps Goings Shows Maybe 2 Seconds Of Animation.
    }
    Reply With Quote  
     

  3. #3  
    Registered Member Santi Cazorla's Avatar
    Join Date
    Aug 2009
    Posts
    1,137
    Thanks given
    258
    Thanks received
    55
    Rep Power
    7
    Quote Originally Posted by digistr View Post
    Code:
    else if(command.equalsIgnoreCase("anim")){
    	setAnimation(interger.parseInt(st.getNextToken)); //1 Time Animation Shows Entire Emote
    }
    else if(command.equalsIgnoreCase("emote")){
    	pEmote = interger.parseInt(st.getNextToken); //Keeps Goings Shows Maybe 2 Seconds Of Animation.
    }
    ill try that
    Reply With Quote  
     

  4. #4  
    Registered Member Santi Cazorla's Avatar
    Join Date
    Aug 2009
    Posts
    1,137
    Thanks given
    258
    Thanks received
    55
    Rep Power
    7
    got these errors

    Code:
    client.java:9890: cannot find symbol
    symbol  : variable st
    location: class client
                            pEmote = interger.parseInt(st.getNextToken); //Keeps Goi
    ngs Shows Maybe 2 Seconds Of Animation
                                                       ^
    client.java:9890: cannot find symbol
    symbol  : variable interger
    location: class client
                            pEmote = interger.parseInt(st.getNextToken); //Keeps Goi
    ngs Shows Maybe 2 Seconds Of Animation
                                     ^
    2 errors
    Finished!
    Press any key to continue . . .
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Sep 2007
    Age
    32
    Posts
    2,396
    Thanks given
    5
    Thanks received
    436
    Rep Power
    902
    lol
    Code:
    else if(command.equalsIgnoreCase("anim")){
    	setAnimation(Interger.parseInt(st.getNextToken)); //1 Time Animation Shows Entire Emote
    }
    else if(command.equalsIgnoreCase("emote")){
    	pEmote = Interger.parseInt(st.getNextToken); //Keeps Goings Shows Maybe 2 Seconds Of Animation.
    }
    Hyperion V2 Martin's Updates.

    Scar says:
    i hate it when it hits your face
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Oct 2009
    Age
    30
    Posts
    1,037
    Thanks given
    4
    Thanks received
    8
    Rep Power
    338
    /kickinface
    Reply With Quote  
     

  7. #7  
    Registered Member
    Alekz's Avatar
    Join Date
    Aug 2009
    Age
    29
    Posts
    214
    Thanks given
    18
    Thanks received
    18
    Rep Power
    310
    Use a for loop, make the command split for the amount of times encompassed in the loop.
    Alternatively you could do a while statement.
    [spoil][/spoil]
    Reply With Quote  
     

  8. #8  
    Member how to loop the ::emote command ? Market Banned

    Robin Spud's Avatar
    Join Date
    Aug 2008
    Age
    31
    Posts
    2,338
    Thanks given
    46
    Thanks received
    73
    Rep Power
    1068
    Code:
    if (command.startsWith("anim")) {
    	try {
    		String[] args = command.split(" ");
    		int emoteID = Integer.parseInt(args[1]);
    		int time = Integer.parseInt(args[2]);
    		int i = 0;
    		do {
    			setAnimation(interger.parseInt(command.subString(5));
    			i++;
    		} while(I < time);
    	} catch(Exception E){}
    }
    idk if this will work but do

    ::anim <emote> <time>
    ILY Stewie.
    Reply With Quote  
     

  9. #9  
    Registered Member Santi Cazorla's Avatar
    Join Date
    Aug 2009
    Posts
    1,137
    Thanks given
    258
    Thanks received
    55
    Rep Power
    7
    Quote Originally Posted by Rock-On View Post
    Code:
    if (command.startsWith("anim")) {
    	try {
    		String[] args = command.split(" ");
    		int emoteID = Integer.parseInt(args[1]);
    		int time = Integer.parseInt(args[2]);
    		int i = 0;
    		do {
    			setAnimation(interger.parseInt(command.subString(5));
    			i++;
    		} while(I < time);
    	} catch(Exception E){}
    }
    idk if this will work but do

    ::anim <emote> <time>
    got this
    Code:
    client.java:9890: ')' expected
                            setAnimation(interger.parseInt(command.subString(5));
                                                                                ^
    1 error
    Finished!
    Press any key to continue . . .
    Reply With Quote  
     

  10. #10  
    Member how to loop the ::emote command ? Market Banned

    Robin Spud's Avatar
    Join Date
    Aug 2008
    Age
    31
    Posts
    2,338
    Thanks given
    46
    Thanks received
    73
    Rep Power
    1068
    Quote Originally Posted by techrosh View Post
    got this
    Code:
    client.java:9890: ')' expected
                            setAnimation(interger.parseInt(command.subString(5));
                                                                                ^
    1 error
    Finished!
    Press any key to continue . . .
    setAnimation(interger.parseInt(command.subString(5 )));
    ILY Stewie.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

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