Jump to content
  • 0
Mr BrycE

Scripting help.

Question

 this came from a script gen. and there's something wrong with it, even if i don't have the items...it still completes the quest..

 

here's the script..

 



Edited  by Mr BrycE

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

You must use AND instead of OR

 

I mean

if(countitem(5107) >= 10 && countitem(6153) >= 10)
 

instead of

if(countitem(5107) >= 10 || countitem(6153) >= 10)
Link to comment
Share on other sites

thank you sir...i always forgot about that || and && in giving params, thanks for reminding.

Edited by Mr BrycE
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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.