noobsai Posted February 22, 2012 Group: Members Topic Count: 32 Topics Per Day: 0.01 Content Count: 70 Reputation: 0 Joined: 02/05/12 Last Seen: February 17 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted February 22, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share 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 Link to comment Share on other sites More sharing options...
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
Link 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.