ok I am trying to make a macro for the use of DKAA's new bazaar plugin yet I am running into some slight problems.
Code: Select all
/if $ini(@file,names,val@counter)=="NOTFOUND" {
/echo Starting search over
/varset counter 1
/goto :mainloop
}
All this code is supposed to do is check if there is any data in the val position determined by the counter and if there isnt then it starts over. The problem I am having now when my code get to that if statement and see what I have in val1 which is Words of Something. If give me an error something like this:
No comparison operator in "words"
I have had this problem alot and usually I just use the id number to get around it but I cant in this case since I cant search for an id number. Anyone wanna terll me what I am doing wrong?