Hello, Pay zeny and item to warp in (map)

leloush

New member
Messages
269
Points
0
Location
in front of my laptop =)
Emulator
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
default_biggrin.png


more power

 
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.

 
Last edited by a moderator:
- 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

 
- 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

 
Back
Top