Actions

Difference between revisions of "WildcardMatching"

From Iron Realms Nexus Client Documentation

Line 1: Line 1:
This is a simple example to demonstrate using wildcard in a trigger text. The trigger automatically assigns the name and the direction to [[variables|variable]] which can be used in the trigger actions with @name and @direction.
+
This trigger captures the name and incoming direction for a player when they enter the room, using the [[Variables|variables]]: <player> and <direction>. Those variables can then be used in the action section with @player and @direction to, in this case, say "hi" to the person.
  
 
Here is the trigger.
 
Here is the trigger.

Revision as of 17:02, 12 March 2018

This trigger captures the name and incoming direction for a player when they enter the room, using the variables: <player> and <direction>. Those variables can then be used in the action section with @player and @direction to, in this case, say "hi" to the person.

Here is the trigger.

WildcardTrigger.png

Here is a sample of what it would look like in the game.

WildcardOutput.png