AinsLord Posted January 20, 2016 Posted January 20, 2016 im actually looking for some free scripts for my server regarding the gold room with anti bot that once you interact with the NPC it will show set of letters once you entered it correctly NPC will warped you directly inside the gold roomthnx in advance Quote
0 Oceanid Posted January 20, 2016 Posted January 20, 2016 prontera,100,100,5 script Gold Room Warper 109,{ set passcode$,"Gold Room"; mes "[Gold Room Warper]"; mes "Please enter the following phrase to enter: Gold Room"; input @phrase$; if(@phrase$ != passcode$){ next; mes "[Gold Room Warper]"; mes "What you entered did not match the passphrase."; mes "Please speak with me again to re-enter the phrase."; end; } else warp "turbo_room",0,0; end; } Just made this real quick. Just change the phrase to whatever you want it to be. Quote
0 YffarNaj06 Posted July 7, 2016 Posted July 7, 2016 prontera,100,100,5 script Gold Room Warper 109,{ set passcode$,"Gold Room"; mes "[Gold Room Warper]"; mes "Please enter the following phrase to enter: Gold Room"; input @phrase$; if(@phrase$ != passcode$){ next; mes "[Gold Room Warper]"; mes "What you entered did not match the passphrase."; mes "Please speak with me again to re-enter the phrase."; end; } else warp "turbo_room",0,0; end; } Just made this real quick. Just change the phrase to whatever you want it to be. Is this working? Quote
0 _Okuz_ Posted July 7, 2016 Posted July 7, 2016 (edited) Yes it is. But I have made a few changes so it could be more accurate. First of all, there's no need to set a permanent player variable to store room password.. If it's intended to be a constant then it won't be changed anyway so we just need to declare one time. Besides that I have made more changes related to variable scopes. // Author: Oceanid prontera,100,100,5 script Gold Room Warper 109,{ mes "[Gold Room Warper]"; mes "Please enter the following phrase to enter: Gold Room"; next; input .@phrase$; if(.@phrase$ != .passcode$){ mes "[Gold Room Warper]"; mes "What you entered did not match the passphrase."; mes "Please speak with me again to re-enter the phrase."; close; } else { mes "[Gold Room Warper]"; mes "Ok, there we go!"; close2; warp "turbo_room",0,0; end; } OnInit: set .passcode$, "Gold Room"; } All the credits to Sir Oceanid, the original author. Edited July 7, 2016 by _Okuz_ Quote
Question
AinsLord
im actually looking for some free scripts for my server regarding the gold room with anti bot
that once you interact with the NPC it will show set of letters once you entered it correctly NPC will warped you
directly inside the gold room
thnx in advance
3 answers 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.