einbech,39,215,5scriptTrain Station Staff#ein3852,{
mes "[staff]";
mes "Welcome to";
mes "the Train Station.";
mes "The fare to take the";
mes "train to Einbroch is";
mes "200 zeny. Would";
mes "you like to ride?";
next;
switch(select("Yes.:No.")) {
case 1:
if (Zeny > 199) {
mes "[staff]";
mes "Thank you and";
mes "we hope you enjoy";
mes "the ride. All aboard!";
close2;
set Zeny, Zeny-200;
warp "einbroch",226,276;
end;
}
else {
mes "[staff]";
mes "I'm sorry,";
mes "but you don't";
mes "have enough zeny";
mes "to pay the train fare.";
close;
}
case 2:
mes "[staff]";
mes "Please enjoy";
mes "your stay here";
mes "in Einbech.";
close;
}
And I'm wondering if it's possible to add in a time Delay, i would like it so that after people used the NPC they arent allowed to used it again for another mins.
The time delay is fix to each players who talks to the npc, and not the npc itself
The plan was to remove portals that take you to mvp maps, and where the portal was position. Replace it with a warping npc that warps them into the map. They wont able to use it again for 5 mins.
Question
Rain408
I currently using this code as a template
einbech,39,215,5 script Train Station Staff#ein3 852,{
Link to comment
Share on other sites
2 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.