leloush 7 Posted November 24, 2013 Hello, Hercules i would like to request an npc if you dont mind hehe this is what i would like to have npc that will require you to pay him a zeny and item and then the npc will warp you into the (designated map) p.s. thank you more power Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted November 24, 2013 - script Warper -1,{ set .@price,1000; // Zeny required for warp set .@item,501; // Item Required for warp mes "["+strnpcinfo(1)+"]"; mes "Hi "+strcharinfo(0); if (.@item) { mes "Item required ^ff0000"+getitemname(.@item)+"^000000."; if (!countitem(.@item)) close; delitem getitemname(.@item),1; } if (.@price) { mes "Warp costs ^ff0000"+.@price+" Zeny.^000000"; if (Zeny < .@price) close; if(select("^0055FFWarp^000000:^777777Cancel^000000") == 2) close; set Zeny, Zeny-.@price; } warp "prontera",150,150;} or you can add this to your warper.txt 3 jaldaAbajo, Mumbles and leloush reacted to this Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted November 24, 2013 why dont you use Quest Warper? Quote Share this post Link to post Share on other sites
0 leloush 7 Posted November 24, 2013 (edited) sevenzz23, on 23 Nov 2013 - 21:47, said: why dont you use Quest Warper? thank you.but can i have a simple and short script. like for example npctestwarper convers with the npc and the npc will ask and check for zeny and the coresponding item if the character have this (two) the npc will warp him to the designated map (customized) (1 map ) (example: gld_dun01) because im planning to make a npc for example bossnia with a time. Edited November 24, 2013 by leloush Quote Share this post Link to post Share on other sites
0 leloush 7 Posted November 24, 2013 - script Warper -1,{ set .@price,1000; // Zeny required for warp set .@item,501; // Item Required for warp mes "["+strnpcinfo(1)+"]"; mes "Hi "+strcharinfo(0); if (.@item) { mes "Item required ^ff0000"+getitemname(.@item)+"^000000."; if (!countitem(.@item)) close; delitem getitemname(.@item),1; } if (.@price) { mes "Warp costs ^ff0000"+.@price+" Zeny.^000000"; if (Zeny < .@price) close; if(select("^0055FFWarp^000000:^777777Cancel^000000") == 2) close; set Zeny, Zeny-.@price; } warp "prontera",150,150;} or you can add this to your warper.txt thank you so much.. more power to hercules and also you guys.. /no1 Quote Share this post Link to post Share on other sites
Hello, Hercules
i would like to request an npc if you dont mind hehe
this is what i would like to have
npc that will require you to pay him a zeny and item
and then the npc will warp you into the (designated map)
p.s. thank you
more power
Share this post
Link to post
Share on other sites