GuildMsg: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Add EventMacro event condition: GuildMsg)
 
m (4epT moved page guildMsg to GuildMsg over a redirect without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Is checked on guild messages, is true when the message matches the given regex.
{{Template:GuildMsg}}


: Syntax:
[[Category:EventMacro_Automacros]]
GuildMsg <[[EventMacro#Regex|Regex]]>
 
: Example:
GuildMsg /(buff|bless)/
 
: Set variables:
$.GuildMsgLastName => Saves the name of the player which message activated GuildMsg
$.GuildMsgLastMsg => Saves the message which activated GuildMsg
[[Category:EventMacro_Conditions_Event]]
[[Category:EventMacro_Conditions_Event]]

Latest revision as of 21:43, 12 September 2021

GuildMsg
  • Description: Is checked on guild messages, is true when the message matches the given regex.
Syntax:
GuildMsg <Regex>
Example:
GuildMsg /(buff|bless)/
Set variables:
$.GuildMsgLastName => Saves the name of the player which message activated GuildMsg
$.GuildMsgLastMsg => Saves the message which activated GuildMsg