Jump to content
  • 0

what wrong on this script?


mythology

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  12/18/12
  • Last Seen:  

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

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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;
}

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

You make the same NPC that your request ? lol

Edited by Capuche
Link to comment
Share on other sites

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.

×
×
  • Create New...