https://openkore.com/index.php?title=Template:PlayerNear&feed=atom&action=historyTemplate:PlayerNear - Revision history2024-03-28T19:01:25ZRevision history for this page on the wikiMediaWiki 1.34.1https://openkore.com/index.php?title=Template:PlayerNear&diff=4165&oldid=prev4epT: Created page with " <noinclude>This template describes the '''PlayerNear''' state Conditions of the automacro eventMacros.</noinclude> ;PlayerNear :* Description: Checks if..."2019-07-04T20:56:55Z<p>Created page with " <noinclude>This template describes the '''PlayerNear''' <a href="/wiki/EventMacro#State" class="mw-redirect" title="EventMacro">state Conditions</a> of the automacro eventMacros.</noinclude> ;PlayerNear :* Description: Checks if..."</p>
<p><b>New page</b></p><div> <noinclude>This template describes the '''PlayerNear''' [[EventMacro#State|state Conditions]] of the automacro eventMacros.</noinclude><br />
;PlayerNear<br />
:* Description: Checks if there is a player near which name matches the given regex.<br />
<br />
: Syntax:<br />
PlayerNear <[[EventMacro#Regex|Regex]]><br />
<br />
: Example:<br />
PlayerNear /john/<br />
PlayerNear /henry the best TM/i<br />
<br />
: Set variables:<br />
$.PlayerNearLast => Saves the name of the last player that made PlayerNear become true<br />
$.PlayerNearLastPos => Saves the position of the last player that made PlayerNear become true<br />
$.PlayerNearLastBinId => Saves the openkore ID of the last player that made PlayerNear become true<br />
$.PlayerNearLastDist => Saves the distance of the last player that made PlayerNear become true</div>4epT