Difference between revisions of "Help/Variable"

From DikuMUD Wiki
Jump to navigation Jump to search
(Created page with "= Variable = Variables are basically string lists and can be defined as such: variable friends papi|john|aja|bruce|cityguard|the janitor To recall a variable for use in a tri...")
 
Line 1: Line 1:
 
= Variable =
 
= Variable =
  
Variables are basically string lists and can be defined as such: variable friends papi|john|aja|bruce|cityguard|the janitor To recall a variable for use in a trigger, you will notate it as (@variablename) or in this example (@friends). This is recalled in the example below.
+
Variables are basically string lists that can be used in [[Help/Trigger|triggers]] and can be defined as such:  
 +
 
 +
  variable friends papi|john|aja|bruce|cityguard|the janitor
 +
 
 +
To recall a variable for use in a trigger, you will notate it as (@variablename) or in this example (@friends).  
 +
This is recalled in the example below.
 +
 
 +
See also:
 +
  {Help Trigger}
 +
  {Help Alias}

Revision as of 07:39, 21 September 2020

Variable

Variables are basically string lists that can be used in triggers and can be defined as such:

 variable friends papi|john|aja|bruce|cityguard|the janitor

To recall a variable for use in a trigger, you will notate it as (@variablename) or in this example (@friends). This is recalled in the example below.

See also:

 {Help Trigger}
 {Help Alias}