Jump to content
  • 0

adding another quest requirements causes error


kalabasa

Question


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

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?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

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

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  208
  • Reputation:   22
  • Joined:  01/14/13
  • Last Seen:  

i think it is not here on if else what else do you implement?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

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 

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