Thread: ::commands

Results 1 to 5 of 5
  1. #1 ::commands 
    Registered Member
    Join Date
    Jan 2014
    Posts
    142
    Thanks given
    9
    Thanks received
    0
    Rep Power
    11
    So when I type ::commands it say's this



    I don't even have a :layers command.

    So im confused why its telling me whos online.

    Here is the code im using.

    if (playerCommand.startsWith("commands")) {
    c.getPA().showInterface(8134);
    c.flushOutStream();
    c.getPA().sendFrame126("@dre@Deadly-Pkerz command! ", 8144);
    c.getPA().sendFrame126(":onate", 8148);
    c.getPA().sendFrame126("2", 8149);
    }
    Reply With Quote  
     

  2. #2  
    Registered Member Phoenix's Avatar
    Join Date
    Mar 2013
    Posts
    528
    Thanks given
    144
    Thanks received
    38
    Rep Power
    13
    Try
    Code:
    if (playerCommand.startsWith("commands")) { 
    c.getPA().showInterface(8134);
    c.flushOutStream();
    c.getPA().sendFrame126("@dre@Deadly-Pkerz command! ", 8144);
    c.getPA().sendFrame126(" ", 8145);
    c.getPA().sendFrame126(" ", 8146);
    c.getPA().sendFrame126("::donate", 8148);
    c.getPA().sendFrame126("2", 8149); 
    }
    Vouches: 2
    Spoiler for Vouches:
    Quote Originally Posted by Rsn zorrow View Post
    Vouch for phoenix, done this for me he went 1st!

    Quote Originally Posted by Craigshotter08 View Post
    Vouch for Phoenix he fixed the problem for me and explained how to do it next time, vouch to him.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Jan 2014
    Posts
    142
    Thanks given
    9
    Thanks received
    0
    Rep Power
    11
    That got rid of the online players Still the same thing under it.
    Reply With Quote  
     

  5. #4  
    Registered Member
    Join Date
    Jan 2014
    Posts
    142
    Thanks given
    9
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Phoenix View Post
    Try
    Code:
    if (playerCommand.startsWith("commands")) { 
    c.getPA().showInterface(8134);
    c.flushOutStream();
    c.getPA().sendFrame126("@dre@Deadly-Pkerz command! ", 8144);
    c.getPA().sendFrame126(" ", 8145);
    c.getPA().sendFrame126(" ", 8146);
    c.getPA().sendFrame126(" ", 8147); -- once i added that extra line worked perfect!
    c.getPA().sendFrame126("::donate", 8148);
    c.getPA().sendFrame126("2", 8149); 
    }
    I got it but only with your help!
    Reply With Quote  
     

  6. #5  
    Registered Member Phoenix's Avatar
    Join Date
    Mar 2013
    Posts
    528
    Thanks given
    144
    Thanks received
    38
    Rep Power
    13
    Quote Originally Posted by Deadly-pkerz View Post
    That got rid of the online players Still the same thing under it.
    Add this line

    Code:
    c.getPA().sendFrame126(" ", 8147);
    EDIT: Nvm you got it
    Vouches: 2
    Spoiler for Vouches:
    Quote Originally Posted by Rsn zorrow View Post
    Vouch for phoenix, done this for me he went 1st!

    Quote Originally Posted by Craigshotter08 View Post
    Vouch for Phoenix he fixed the problem for me and explained how to do it next time, vouch to him.
    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. [458] Command List.
    By Impulser in forum RS2 Client
    Replies: 44
    Last Post: 06-11-2008, 08:17 PM
  2. ::pnpc command!
    By Pancakebuddy in forum Tutorials
    Replies: 7
    Last Post: 05-22-2007, 05:07 AM
  3. Loading Commands From Text File
    By ThatOneServer in forum Tutorials
    Replies: 2
    Last Post: 05-05-2007, 12:36 PM
  4. Tokenized Commands
    By ThatOneServer in forum Tutorials
    Replies: 1
    Last Post: 05-03-2007, 11:18 AM
  5. Console Commands
    By ZeroFreeze in forum Tutorials
    Replies: 7
    Last Post: 04-30-2007, 12:53 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
  •