Jump to content
  • 0

for item_db script


eJay

Question


  • Group:  Members
  • Topic Count:  80
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   76
  • Joined:  03/22/12
  • Last Seen:  

I use this script for item_db2.txt

 

{ successremovecards 1; dispbottom "Sorry card is not allowed to this item"; }

 

the card will remove but it always pop up to my chat "Sorry card is not allowed blah blah  blah"

even though the item is 0 card

 

i'd like to know if there are some script that will know if the item having card on it

like if item is 0 card the "sorry card is now allowed"  will not pop up

Edited by eJay
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

if (getequipcardcnt(EQI_HEAD_TOP)) {

successremovecards EQI_HEAD_TOP;

dispbottom "Cards are not allowed on this item.";

}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  80
  • Topics Per Day:  0.02
  • Content Count:  325
  • Reputation:   76
  • Joined:  03/22/12
  • Last Seen:  

Thanks Euphy your the best :D

 

+1 /no1

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...