Thread: ::commands problem

Results 1 to 10 of 10
  1. #1 ::commands problem 
    Registered Member
    Join Date
    Jan 2014
    Posts
    142
    Thanks given
    9
    Thanks received
    0
    Rep Power
    11
    So i made a ::commands things. (thanks to Phoenix)


    But here is the Problem!



    I want it to go like this


    Deadly-Pkerz commands!

    Regular Players commands
    the commands here
    the commands here
    the commands here
    the commands here

    Donators commands
    Donators commands here
    Donators commands here
    Donators commands here
    Donators commands here
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2014
    Posts
    142
    Thanks given
    9
    Thanks received
    0
    Rep Power
    11
    I almost have this it's what i want.

    I just don't want the first "2" to be there inbetween Deadly-Pkerz commands and Regular player commands
    Reply With Quote  
     

  3. #3  
    Registered Member
    Zivik's Avatar
    Join Date
    Oct 2007
    Age
    28
    Posts
    4,421
    Thanks given
    891
    Thanks received
    1,527
    Rep Power
    3285
    Quote Originally Posted by Deadly-pkerz View Post
    I almost have this it's what i want.

    I just don't want the first "2" to be there inbetween Deadly-Pkerz commands and Regular player commands
    Give us your current code so we can help you better.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Edd -'s Avatar
    Join Date
    Jul 2011
    Posts
    664
    Thanks given
    62
    Thanks received
    43
    Rep Power
    84
    Code:
    public void commandInterface() {
    getPA().sendFrame126("@red@server commands",8144);
    	getPA().sendFrame126("Player Commands",8145);
    	getPA().sendFrame126("::donate",8146);
    	getPA().sendFrame126("",8147);
    	getPA().sendFrame126("",8148);
    	getPA().sendFrame126("",8149);
    	getPA().sendFrame126("",8150);
    	getPA().sendFrame126("",8151);
    	getPA().sendFrame126("",8152);
    	getPA().sendFrame126("",8153);
    	getPA().sendFrame126("",8154);
    	getPA().sendFrame126("",8155);
            getPA().sendFrame126("",8156);
            getPA().sendFrame126("",8157);
            getPA().sendFrame126("",8158);
    getPA().sendFrame126("",8159);
    getPA().sendFrame126("",8160);
    getPA().sendFrame126("",8161);
    	getPA().sendFrame126("",8162);
    	getPA().sendFrame126("",8163);
    	getPA().sendFrame126("",8164);
    	getPA().sendFrame126("",8165);
    	getPA().sendFrame126("",8166);
     	getPA().sendFrame126("",8167);
    	getPA().sendFrame126("",8168);
     	getPA().sendFrame126("",8169);
     	getPA().sendFrame126("",8170);
     	getPA().sendFrame126("",8171);
     getPA().sendFrame126("",8172);
    getPA().sendFrame126("",8173);
    getPA().sendFrame126("",8174);
    getPA().sendFrame126("",8175);
    getPA().sendFrame126("",8177);
    getPA().sendFrame126("",8176);
    getPA().sendFrame126("",8178);
    getPA().sendFrame126("",8179);
    getPA().sendFrame126("",8180);
    getPA().sendFrame126("",8181);
    getPA().sendFrame126("",8182);
    getPA().sendFrame126("",8183);
    getPA().sendFrame126("",8184);
    	getPA().showInterface(8134);
    			flushOutStream();
    	};
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jan 2014
    Posts
    142
    Thanks given
    9
    Thanks received
    0
    Rep Power
    11
    if (playerCommand.startsWith("commands")) {
    c.getPA().showInterface(8134);
    c.flushOutStream();
    c.getPA().sendFrame126("@red@Deadly-Pkerz command! ", 8144);
    c.getPA().sendFrame126("@blu@Regular player commands", 8145);
    c.getPA().sendFrame126(":onate", 8146);
    }

    That's the code im using.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jan 2014
    Posts
    142
    Thanks given
    9
    Thanks received
    0
    Rep Power
    11
    bump
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jun 2013
    Posts
    429
    Thanks given
    81
    Thanks received
    69
    Rep Power
    69
    Quote Originally Posted by Deadly-pkerz View Post
    bump
    What are you bumping this for? They already helped you several times. If you aren't able to copy and paste, boy do i feel bad for you.
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jan 2014
    Posts
    142
    Thanks given
    9
    Thanks received
    0
    Rep Power
    11
    If it doesnt work i think you should stfu forever.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Sep 2013
    Posts
    52
    Thanks given
    4
    Thanks received
    3
    Rep Power
    19
    Add this to commands.java
    I think thats what your looking for.
    Code:
    if (playerCommand.equalsIgnoreCase("commands")) {
    				c.getPA().showInterface(8134);
             			c.flushOutStream();
    				c.getPA().sendFrame126("@gre@Yourservernamehere Commands!", 8144);
                    		c.getPA().sendFrame126("@whi@Player Commands", 8145);
    				c.getPA().sendFrame126("", 8147);
    				c.getPA().sendFrame126("", 8148);
    				c.getPA().sendFrame126("", 8149);
    				c.getPA().sendFrame126("@red@Moderator Commands", 8150);
    				c.getPA().sendFrame126("", 8151);
    				c.getPA().sendFrame126("", 8152);
    				c.getPA().sendFrame126("", 8153);
    				c.getPA().sendFrame126("@blu@ Administrator Commands", 8154);
    				c.getPA().sendFrame126("", 8155);
    				c.getPA().sendFrame126("", 8156);
    				c.getPA().sendFrame126("", 8157);
    				c.getPA().sendFrame126("@yel@ Owner Commands", 8158);
    				c.getPA().sendFrame126("", 8159);
    				c.getPA().sendFrame126("", 8160);
    				c.getPA().sendFrame126("", 8161);
    				c.getPA().sendFrame126("", 8162);
    				c.getPA().sendFrame126("", 8163);
    				c.getPA().sendFrame126("", 8164);
    				c.getPA().sendFrame126("", 8165);
    				c.getPA().sendFrame126("", 8166);
    				c.getPA().sendFrame126("", 8167);
    				c.getPA().sendFrame126("", 8168);
    
    			}
    Rep and thanks is appreciated
    Reply With Quote  
     

  10. #10  
    Banned ::commands problem Market Banned


    Join Date
    Jan 2011
    Age
    26
    Posts
    3,112
    Thanks given
    1,198
    Thanks received
    1,479
    Rep Power
    0
    if you honestly can't figure this out... I don't even know what to say. several people have given you the code to make it work, learn to use logic and reasoning to solve your own problems rather than having people literally write stuff for you
    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. [iClarity] My Jail Command Problem
    By Zetux in forum Help
    Replies: 3
    Last Post: 09-26-2009, 03:41 PM
  2. Command problems hard to explain.
    By P A N I C in forum Help
    Replies: 12
    Last Post: 07-16-2009, 09:09 PM
  3. ::char command problems
    By giggadude in forum Help
    Replies: 11
    Last Post: 07-13-2009, 11:18 PM
  4. command problem on delta
    By d34d pk3r in forum Requests
    Replies: 4
    Last Post: 04-01-2009, 02:04 AM
  5. Command Problem
    By Chachi in forum Help
    Replies: 10
    Last Post: 02-08-2009, 06:37 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •