Jump to content
  • 0

what wrong on this script?


Question

Posted

prontera,134,188,5 script reborn quest2 421,{

if(Class < 4001) {

mes "Sorry, your not authorize to meet my Boss";

close;

}

if(BaseLevel < 200) {

mes "BaseLevel no is enough";

mes "Please come again soon if you Strong enough";

close;

}

if(JobLevel < 70) {

mes "Are you sure what are you doing?";

close;

}

mes "Welcome "+strcharinfo(0)+"! Would you like to meet my BOSS ? I need 10 Event Coupon to guide you";

if(select("No:Yes")==1) {

mes "Well, Come back here if you are strong "+strcharinfo(0);

close;

}

if(countitem(30004) < 10) if(countitem(20005) < 1) {

mes "Your required ^FF0000"+.sbitems$[0]+"^000000 to Enter my Boss Tower";

close;

}

delitem 30004,10;

warp "thana_boss" ,136,150;

npctalk strcharinfo(0)+" Goodluck!!!;

close;

}

i want a npc that can teleport on thana_boss but required 10 event coupon(30004)..

can you help me to fix this

2 answers to this question

Recommended Posts

Posted

change

if(countitem(30004) < 10) if(countitem(20005) < 1) {
mes "Your required ^FF0000"+.sbitems$[0]+"^000000 to Enter my Boss Tower";
close;
}

into

if(countitem(30004) < 10) {
mes "Your required ^FF0000"+getitemname(30004) +"^000000 to Enter my Boss Tower";
close;
}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...