AinsLord Posted January 22, 2016 Posted January 22, 2016 instead of asking zeny it will ask for an item like 50pcs tcg card to enter something like thatand it has a random letters to show and you need to enter itits like anti botthnx in advance Quote
0 Scylla Posted January 22, 2016 Posted January 22, 2016 (edited) instead of asking zeny it will ask for an item like 50pcs tcg card to enter something like that and it has a random letters to show and you need to enter it its like anti bot thnx in advance https://rathena.org/board/topic/80855-need-script-gold-room-password/ https://eathena.ws/board/index.php?showtopic=266139 Edited January 22, 2016 by Scylla Quote
0 AinsLord Posted January 23, 2016 Author Posted January 23, 2016 how will i able to add this or how to put the scripsorry totally newbieafter inputting the correct password nothing happensand how will i able to change the cost its zeny i want TCG to be the cost to enterthnx for helping Quote
0 Oceanid Posted January 26, 2016 Posted January 26, 2016 (edited) MAPNAME,x,y,5 script Gold Room Warper 108,{ mes "[Gold Room Warper]"; mes "Your Password Is .."; next; set .@A,rand(234); set .@B,rand(12); mes "If A = "+.@A+" B = "+.@B; switch( rand(4) ){ Case 0: set .@Answer,.@A + .@B; mes "How many is A + B ?"; break; Case 1: set .@Answer,.@A - .@B; mes "How many is A - B ?"; break; Case 2: set .@Answer,.@A * .@B; mes "How many is A * B ?"; break; Case 3: set .@Answer,.@A / .@B; mes "How many is A / B ?"; break; } input .@Input; if( .@Input != .@Answer ){ mes "Wrong"; atcommand "@kick "+strcharinfo(0); } next; if(countitem(7227) < 50) { mes "You do not have enough TCG cards to enter."; close; } else delitem 7227,50; warp "MAPNAME",x,y; close; } Edited the script posted by Scylla to fit what you were asking and tested it on my server. Just add the map you want the npc to be and your gold room map. Edited January 26, 2016 by Oceanid Quote
Question
AinsLord
instead of asking zeny it will ask for an item like 50pcs tcg card to enter something like that
and it has a random letters to show and you need to enter it
its like anti bot
thnx in advance
4 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.