https://openkore.com/index.php?title=Template:PubMsgName&feed=atom&action=historyTemplate:PubMsgName - Revision history2024-03-28T12:34:16ZRevision history for this page on the wikiMediaWiki 1.34.1https://openkore.com/index.php?title=Template:PubMsgName&diff=4230&oldid=prev4epT: Created page with " <noinclude>This template describes the '''PubMsgName''' Event Conditions of the automacro eventMacros.</noinclude> ;PubMsgName :* Description: Is checked..."2019-07-04T21:35:55Z<p>Created page with " <noinclude>This template describes the '''PubMsgName''' <a href="/wiki/EventMacro#Event" class="mw-redirect" title="EventMacro">Event Conditions</a> of the automacro eventMacros.</noinclude> ;PubMsgName :* Description: Is checked..."</p>
<p><b>New page</b></p><div> <noinclude>This template describes the '''PubMsgName''' [[EventMacro#Event|Event Conditions]] of the automacro eventMacros.</noinclude><br />
;PubMsgName<br />
:* Description: Is checked on public messages, is true when the message matches the given regex and the name of the player which sent it also matches it's given regex.<br />
<br />
: Syntax:<br />
PubMsgName <[[EventMacro#Regex|Regex]]> <[[EventMacro#Regex|Regex]]><br />
<br />
: The first regex is for the message, the second one is for the player name<br />
<br />
: Example:<br />
PubMsgName /(buff|bless)/ /Player to buff/<br />
PubMsgName /stop/ /GM/<br />
<br />
: Set variables:<br />
$.PubMsgNameLastName => Saves the name of the player which message activated PubMsgName<br />
$.PubMsgNameLastMsg => Saves the message which activated PubMsgName</div>4epT