Help with mycode

n0tm3

New member
Messages
14
Points
0
Location
Philippines
Emulator
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>

 
I got it.. can someone please delete this thread.. thanks
default_biggrin.png


 
I got it.. can someone please delete this thread.. thanks
default_biggrin.png
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
default_smile.png


 
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)

default_biggrin.png


 
Back
Top