Thread: command?

Results 1 to 5 of 5
  1. #1 command? 
    Registered Member Scenemo's Avatar
    Join Date
    Apr 2011
    Posts
    283
    Thanks given
    12
    Thanks received
    0
    Rep Power
    1
    oop soz.. is there a way to make a command like this but in PI?
    if(command.equalsIgnoreCase("commands") && (playerRights >= 0)) {
    String name = command.substring(5);
    sendQuest("Commands", 8144); //Title
    sendQuest("All commands for the server", 8145);
    clearQuestInterface();
    sendQuest("::mole - giant mole ", 8147);
    sendQuest("::hightrain & ::lowtrain - training place", 8148);
    sendQuest(":killpro - high lvl wc and mining", 8149);
    sendQuest("::quests & re-log - for all quests done", 8150);
    sendQuest(":kills - skill area", 8151);
    sendQuest(":ragons - dragon lair", 8152);
    sendQuest("::chaosele - chaos elemental", 8153);
    sendQuest("::fishing - fishing place & shop", 8154);
    sendQuest("::updates - for the latest updates", 8155);
    sendQuest("::ardy - ardougne teleport/ thieving", 8156);
    sendQuest("::kbd - kbd slaying- Wilderness !!!!", 8157);
    sendQuest("::avatarmini - avatar minigame", 8158);
    sendQuest("::newbiemini - newbie minigame", 8159);
    sendQuest("::armyofheaven - army of heaven minigame", 8160);
    sendQuest("::agility", 8161);
    sendQuest(":hops or shops2", 8162);
    sendQuest("::bank", 8163);
    sendQuest("::fly", 8164);
    sendQuest("::hail", 8165);
    sendQuest("::afk", 8166);
    sendQuest("::char", 8167);
    sendQuest("::rich", 8168);
    sendQuest("Enjoy the server !", 8169);
    showInterface(8134);
    flushOutStream();
    }
    Reply With Quote  
     

  2. #2  
    Registered Member Sirius's Avatar
    Join Date
    Mar 2011
    Posts
    269
    Thanks given
    18
    Thanks received
    14
    Rep Power
    7
    What about it?
    Attached image
    Reply With Quote  
     

  3. #3  
    Registered Member Beanerrr's Avatar
    Join Date
    Feb 2011
    Posts
    598
    Thanks given
    78
    Thanks received
    28
    Rep Power
    6
    If you're using PI that will not work. Try this:
    Code:
    if (playerCommand.equalsIgnoreCase("rules") {
    c.getPA().showInterface(8134);
    c.getPA().sendFrame126("Close Window", 8136);
    c.getPA().sendFrame126("Rune Mysteries", 8144);
    c.getPA().sendFrame126("", 8145);
    c.getPA().sendFrame126("To start the quest speak with Duke Horacio", 8147);
    c.getPA().sendFrame126("in the Camelot Castle", 8146);
    c.getPA().sendFrame126("in the Camelot Castle.", 8148);
    	for(int i = 8149; i <= 8250;i++){
    		c.getPA().sendFrame126("", i);
    	}
    	for(int i = 12174; i <=12223;i++){
    		c.getPA().sendFrame126("", i);
    	}
    }
    Quote Originally Posted by Galkon View Post
    The rules clearly state, if you can't help, don't reply.


    Quote Originally Posted by Mod Josh - Question: How do you ask girls out?
    I can't ask them out, I am banned from the kitchen
    Quote Originally Posted by Penor View Post
    How will i know if its PI based?? Omfg this is sooo confusing!!
    Reply With Quote  
     

  4. Thankful user:


  5. #4  
    Registered Member Scenemo's Avatar
    Join Date
    Apr 2011
    Posts
    283
    Thanks given
    12
    Thanks received
    0
    Rep Power
    1
    soz i edited it
    Reply With Quote  
     

  6. #5  
    Registered Member Scenemo's Avatar
    Join Date
    Apr 2011
    Posts
    283
    Thanks given
    12
    Thanks received
    0
    Rep Power
    1
    btw its ("rules")) {
    and thx alot
    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: 4
    Last Post: 12-21-2010, 09:36 PM
  3. Replies: 4
    Last Post: 12-19-2010, 11:46 PM
  4. Replies: 4
    Last Post: 02-13-2009, 12:32 AM
  5. Custom Command Voids(Command Hndler)
    By AlexMason in forum Tutorials
    Replies: 7
    Last Post: 03-22-2008, 12:41 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
  •