User Tools

Site Tools


mud:ampersand_ampersand

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mud:ampersand_ampersand [2019/08/08 17:38] (current)
admin created
Line 1: Line 1:
 +<​code>​
 +  COMMAND: @@ <​args>​
 +</​code>​
  
 +This command and everything after it (excluding the command-separator ';'​) is not evaluated by the parser. This is useful for adding comments in softcode or, more commonly, writing comment headers for softcode installers (such as /quotable text files). ​ Note that @@ must be followed by a space or it will return an error message.
 +
 +Always be doubly sure that ()'s and {}'s in the (otherwise ignored) arguments are nested correctly, so that any semicolons used to separate it from subsequent code in the line are recognized by the parser.
 +
 +Example:
 +<​code>​
 +     > @va me=$foobar *:@fo #1234=%0;@@ This controls my foobar puppet.
 +     > foobar say Hello World!
 +     ​foobar says "Hello World!"​
 +     > @@ --- Begin Code ---
 +     > @emit Hello World!
 +     > @@ --- End Code ---
 +     Hello World!
 +</​code>​
 +
 +Related Topics: [[mud:​think]],​ [[mud:<​ampersand><​ampersand>​()|&&​()]],​ [[mud:​null()]].
mud/ampersand_ampersand.txt ยท Last modified: 2019/08/08 17:38 by admin