Jump to content
  • 0
Sign in to follow this  
kalabasa

adding another quest requirements causes error

Question

Good day rathena ive been adding some quest requirements on my quest script 

for example i have already existing ones 

if(countitem(995) < 25 || countitem(749) < 10 || countitem(7066) < 50 || countitem(969) < 10)

and i would add another 

if(countitem(995) < 25 || countitem(749) < 10 || countitem(7066) < 50 || countitem(969) < 10)  || countitem(4195) < 10)

it gives me error 

script addword: invalid word.

im scratching my head right now why it gives me error ? any idea?

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
if(countitem(995) < 25 || countitem(749) < 10 || countitem(7066) < 50 || countitem(969) < 10 || countitem(4195) < 10)

condition should be added inside the if (....) 

  • Upvote 1

Share this post


Link to post
Share on other sites
  • 0

on the checking part if(countitem(995) >= 25 || countitem(749) >= 10 || countitem(7066) >= 50 || countitem(969) >= 10

and delitem part

im using this one

how come this got more requirements yes i manually added additional requirements but still throwing error is there any problem on my emulator?

another update:

i even clone another rA file clean up and create a new database still the same error occurs 

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...

Important Information

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