noobsai Posted February 22, 2012 Posted February 22, 2012 can anyone share me a Warper NPC just like BreakTheSeal but he will just warp the player to the other map. the warper npc will ask 17 items with different amount if something is lacking he will get refused. thanks Quote
Emistry Posted February 22, 2012 Posted February 22, 2012 try this prontera,155,181,5 script Sample 757,{ setarray .ItemLists, 7539,10, 7227,1, 607,100, 608,10; mes "You need these items."; for( set .@i,0; .@i < ( getarraysize( .ItemLists ) - 1 ); set .@i,.@i + 1 ){ mes getitemname( .ItemLists[ .@i ] )+" x "+.ItemLists[ .@i + 1 ]; if( countitem( .ItemLists[ .@i ] ) < .ItemLists[ .@i + 1 ] ) set .@x,1; } if( .@x ) close; if( select("Warp:Cancel") == 2 ) close; for( set .@i,0; .@i < ( getarraysize( .ItemLists ) - 1 ); set .@i,.@i + 1 ) delitem .ItemLists[ .@i ],.ItemLists[ .@i + 1 ]; warp "prontera",155,181; end; } Quote
Question
noobsai
can anyone share me a Warper NPC just like BreakTheSeal but he will just warp the player to the other map.
the warper npc will ask 17 items with different amount if something is lacking he will get refused.
thanks
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.