isaw4sal3 Posted April 29, 2012 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 40 Reputation: 0 Joined: 12/10/11 Last Seen: January 20, 2015 Share Posted April 29, 2012 (edited) how to use this script? can anyone helo with this one waitingroom "ChatRoom name",<limit>{,"Event Label",<trigge}; Edited April 29, 2012 by isaw4sal3 Quote Link to comment Share on other sites More sharing options...
Emistry Posted April 29, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 20 hours ago Share Posted April 29, 2012 just put that in your script...... waitingroom "Name",0; the limit refer to how many users can get into the "chatroom" https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/doc/script_commands.txt *waitingroom "<chatroom name>",<limit>{,<event label>,<trigge,<required zeny>,<min lvl>,<max lvl>}; This command will create a chat room, owned by the NPC object running this script and displayed above the NPC sprite. The maximum length of a chat room name is 60 letters. The limit is the maximum number of people allowed to enter the chat room. If the optional event and trigger parameters are given, the event label ("<NPC object name>::<label name>") will be invoked as if with a 'doevent' upon the number of people in the chat room reaching the given triggering amount. // The NPC will just show a box above its head that says "Hello World", clicking // it will do nothing, since the limit is zero. waitingroom "Hello World",0; // The NPC will have a box above its head, it will say "Disco - Waiting Room" // and will have 8 waiting slots. Clicking this will enter the chat room, where // the player will be able to wait until 8 people accumulate. Once this happens, // it will cause the NPC "Bouncer" run the label "OnStart" waitingroom "Disco - Waiting Room",8,"Bouncer::OnStart",8; // The NPC will have a box above its head, it will say "Party - Waiting Room" // and will have 8 waiting slots. Clicking this will allow a player who has // 5000 zeny and lvl 50~99 to enter the chat room, where the player will be // able to wait until 8 people accumulate. Once this happens, it will cause // the NPC "Bouncer" run the label "OnStart" waitingroom "Party - Waiting Room",5,"Bouncer::OnStart",8,5000,50,99; Creating a waiting room does not stop the execution of the script and it will continue to the next line. For more examples see the 2-1 and 2-2 job quest scripts which make extensive use of waiting rooms. Quote Link to comment Share on other sites More sharing options...
Question
isaw4sal3
how to use this script? can anyone helo with this one
Edited by isaw4sal3Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.