Actions

WildcardMatching: Difference between revisions

From Iron Realms Nexus Client Documentation

(Created page with "This is a simple example to demonstrate using wildcard in a trigger text. The trigger automatically assigns the name and the direction to variable which can be u...")
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
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]]: <person> and <direction>. Those variables can then be used in the action section with @person and @direction to, in this case, say "hi" to the person.
 
Here is the trigger.


[[File:WildcardTrigger.png]]
[[File:WildcardTrigger.png]]
Here is a sample of what it would look like in the game.


[[File:WildcardOutput.png]]
[[File:WildcardOutput.png]]

Latest revision as of 17:03, 12 March 2018

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

Here is the trigger.

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