What I want to do is something like this:
/if (I send a tell to someone saying "a certain phrase")
/varset IToldThem 1
Just not sure on the syntax to do that. Any help is appreciated.
Moderator: MacroQuest Developers

Code: Select all
Sub Event_Chat(ChatType,Sender,ChatText)
/if "@ChatText"~~"varsetcommand" {
/varset IToldThem 1
}
Code: Select all
Sub Event_Chat(ChatType,Sender,ChatText)
/if "@ChatText"~~"varset" {
/varset IToldThem $right(1, @ChatText)
}