Hello, I need help with my script. I am planning on making an npc with level requirement. For example the location is izlu2dun and only with level 85~90 are able to enter.
Thank you in advance :")
prontera,156,180,3 script test 833,{
mes "[Bathory]";
mes "Eheeheeheehee! The spotlight is on Glast Heim this week, so I'm ferrying people there for a mere 1,000z!";
next;
mes "[Bathory]";
mes "How about it? Want to take a ride on a beautiful Bathory's broom?";
next;
switch(select("Prepare for Takeoff!:No thanks.")) {
case 1:
if (BaseLevel < 85) {
mes "[Bathory]";
mes "Come on dearie...";
mes "You are already mature enough to enter the portal.";
close;
}
mes "[Bathory]";
mes "Alright, hold on tight!";
close2;
warp "izlu2dun",50,133;
end;
case 2:
mes "["+strcharinfo(0)+"]";
mes "No thanks, maybe later.";
close;
}
}
Question
ItsRas
Hello, I need help with my script. I am planning on making an npc with level requirement. For example the location is izlu2dun and only with level 85~90 are able to enter.
Thank you in advance :")
prontera,156,180,3 script test 833,{ mes "[Bathory]"; mes "Eheeheeheehee! The spotlight is on Glast Heim this week, so I'm ferrying people there for a mere 1,000z!"; next; mes "[Bathory]"; mes "How about it? Want to take a ride on a beautiful Bathory's broom?"; next; switch(select("Prepare for Takeoff!:No thanks.")) { case 1: if (BaseLevel < 85) { mes "[Bathory]"; mes "Come on dearie..."; mes "You are already mature enough to enter the portal."; close; } mes "[Bathory]"; mes "Alright, hold on tight!"; close2; warp "izlu2dun",50,133; end; case 2: mes "["+strcharinfo(0)+"]"; mes "No thanks, maybe later."; close; } }
code
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.