Unknown2008-04-07 10:36:26
So, in Nexus, if-then statements run like this:
Trigger: Blah blah {w} blah
How would I go about doing this in Mush Lua?
Trigger: Blah blah {w} blah
CODE
#if $1 = blah {
say Blah!
}
say Blah!
}
How would I go about doing this in Mush Lua?
Unknown2008-04-07 10:51:34
Regex Trigger: Blah blah (\\w+) blah
CODE
if ("%1" == "blah") then
  Echo("Blah!")
end
  Echo("Blah!")
end
Unknown2008-04-07 11:10:43
Thanks, Zarquan!
New query:
How do I turn groups off in Mush?
New query:
How do I turn groups off in Mush?
Unknown2008-04-07 11:30:59
Lookup the EnableTriggerGroup function. The first argument will be the name of the group and the second is a boolean value: true to enable, false to disable.