i am finally trying to write my first macro and i seem to be failing at that and searching 8( .
if any kind soul could point me in the right direction it would be greatly appreciated.
i am trying to match by charname and the script fails.
Code: Select all
| MyBot by WizeOne
| ver 0.01
| 9/25/13
#event Invite "#1# invites you to join a group."
Sub Main
/echo MyBot Loaded
:mainloop
/doevents
/goto :mainloop
/return
Sub Event_Invite(string Line, string Inviter)
/echo ${Inviter} invited me!
/if ((${Inviter} != "thischar") || (${Inviter} != "thatchar")) {
/disband
/echo declined invite from ${Inviter}
} else {
/invite
}
/return
"Unparsable in Calculation: 't'
mybot.mac@17
failed to parse /if condition '((charinviter != "thischar") || (charinviter != "thatchar"))', non-numeric encountered.
any tips or pointers?
Thanks,
WizeOne

