Long story short,
Created a thread for something else, now I can't get something else to work:
Code:
IF ((<SRC.TAG.MYTAG> == 01) && (<EVAL <SRC.TAG.MYTAG2>> > <VAR.RECORD1>))
VAR.RECORD1=<SRC.TAG.MYTAG2>
VAR.RECORDER1=<SRC.NAME>
So, to set a new second record, you must NOT be Recorder1 and have more points than RECORD2.
Then...
Code:
ELSEIF ((<SRC.TAG.MYTAG> == 01) && (<EVAL <SRC.TAG.MYTAG2>> > <VAR.RECORD2>) && !(STRCMPI("<SRC.NAME>","<EVAL <VAR.RECORDER1>>"))
VAR.RECORD2=<SRC.TAG.MYTAG2>
VAR.RECORDER2=<SRC.NAME>
Code:
Error: Undefined symbol 'Name'
If I don't EVAL the VAR, a higher pointer can take all records.. Record1, Record2, Record3...
In the end, STRCMPI doesn't seem to work in this case... Any suggestions on how I can compare the character name to a stored name in a VAR?
Even though I have the MYTAG2 higher than the RECORD2, it doesn't seem to work...
Suggestions?
Edit:
Also tried
Code:
ELSEIF ((<SRC.TAG.MYTAG> == 01) && (<EVAL <SRC.TAG.MYTAG2>> > <VAR.RECORD2>) && (!STRMATCH("<SRC.NAME>","<EVAL <VAR.RECORDER1>>"))
Same error:
Code:
Error: Undefined symbol 'Name'
_____________
PS: This is an older method I was using, but I am curious.. Trying to make it work anyway.
I am now -trying- to use the list method RanXerox told me.
Thanks everyone.