Jump to content
  • 0
Sign in to follow this  
n0tm3

Help with mycode

Question

I was trying to make an npc for my fallen angel wing enchant and I got stuck in this error.. can somebody please help? thanks

 

<code>

script error in line 13 column 16 parse_callfunc: expected ')' to close argument list

11:  if (getequipid(EQI_GARMENT) == 2589) {
12:   set .@menu$, "Enchant Archangel Wing";
13: if(getrefine(EQI_GARMENT)>=7) {
   ~~~~~~~~~~~~~~^
14:  set .@menu1$, "Second Slot";

</code>

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I got it.. can someone please delete this thread.. thanks :D

We don't necessarily delete topics. It'd be best for you to reply with how you 'fixed' it. This way, if other people have the same issue, they'll know how to fix it :)

Share this post


Link to post
Share on other sites
  • 0

ohh.. sorry.. 

 

I was trying to get the current refine of the equipped fallen angel wing. I was using the wrong method.

 

wrong code

(getrefine(EQI_GARMENT)

 

right code to use 

getequiprefinerycnt(EQI_GARMENT)

 

 

:D

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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