Thread: inertface

Results 1 to 5 of 5
  1. #1 inertface 
    harmy
    Guest
    hey guyz can any1 plz telll me how do i make it when some1 types ::commands a interface opens with all the commands on it?

    here is the commands

    Code:
    endQuest("@gre@DeltaScape - Commands", 8144);
    		clearQuestInterface();
    		sendQuest("::talkon YOURTEXT - repeats a message (for buying/selling)", 8147);
    		sendQuest("::talkoff - turns off message repeater", 8148);
    		sendQuest("::pctime - checks how much time is left in pest contorl", 8149);
    		sendQuest("::pass NEWPASSWORD - changes your password", 8150);
    		sendQuest("::players - view everyone online", 8151);
    		sendQuestSomething(8143);
    		showInterface(8134);
    		flushOutStream();
    			}
    can any1 plz tell me wat do i add there so if any1 types ::commands a screen opens and shows all those commands on it?

    plz some1 help me
    Reply With Quote  
     

  2. #2  
    Previously Hyperion


    Join Date
    Jan 2009
    Posts
    1,254
    Thanks given
    3
    Thanks received
    18
    Rep Power
    138
    if(command.equalsIgnoreCase("help")){
    The name of quest interface
    }
    Reply With Quote  
     

  3. #3  
    harmy
    Guest
    where do i add that

    can you tell me where i find the name of the interface?
    Reply With Quote  
     

  4. #4  
    Registered Member Hexagon's Avatar
    Join Date
    May 2008
    Posts
    672
    Thanks given
    28
    Thanks received
    18
    Rep Power
    33
    Code:
    public void nubcommands(){
    SendQuest("@gre@DeltaScape - Commands", 8144);
    		clearQuestInterface();
    		sendQuest("::talkon YOURTEXT - repeats a message (for buying/selling)", 8147);
    		sendQuest("::talkoff - turns off message repeater", 8148);
    		sendQuest("::pctime - checks how much time is left in pest contorl", 8149);
    		sendQuest("::pass NEWPASSWORD - changes your password", 8150);
    		sendQuest("::players - view everyone online", 8151);
    		sendQuestSomething(8143);
    		showInterface(8134);
    		flushOutStream();
    			}
    if(command.equalsIgnoreCase("help")){
    nubcommands();
    }
    Reply With Quote  
     

  5. #5  
    harmy
    Guest
    works thank you very much
    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

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