Difference between revisions of "Help/Variable"

From DikuMUD Wiki
Jump to navigation Jump to search
(no wiki link in a help page: it would point at the wiki from inside the game ({Help Trigger} is in See Also))
 
Line 1: Line 1:
 
= Variable =
 
= Variable =
  
−
Variables are basically string lists that can be used in [[Help/Trigger|triggers]] and can be defined as such:  
+
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}
 
   {variable friends papi|john|aja|bruce|cityguard|the janitor}

Latest revision as of 06:33, 15 November 2026

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 list current variables:

 {variable}

To remove variable:

 {variable friends}

To recall a variable for use in a trigger, you will notate it as (@variablename) or in this example (@friends). See the trigger page for more help.

See also:

 {Help Trigger}
 {Help Alias}