Noeval

From Elendor

(Difference between revisions)
Jump to: navigation, search
(Created page with ' The ']' command prefix allows players to inhibit the normal round of eval- uation that occurs when you enter a command. For example, normally when you type +com cod…')
Line 2: Line 2:
   uation that occurs when you enter a command. For example, normally when
   uation that occurs when you enter a command. For example, normally when
   you type
   you type
-
 
+
       +com code=What does %# do again?
       +com code=What does %# do again?
-
 
+
   you and others will see
   you and others will see
-
 
+
       <Code> Froob says, "What does #12345 do again?"
       <Code> Froob says, "What does #12345 do again?"
-
 
+
   because the %# gets evaluated and expanded into your dbref. But instead, if
   because the %# gets evaluated and expanded into your dbref. But instead, if
   you type
   you type
-
 
+
       ]+com code=What does %# do again?
       ]+com code=What does %# do again?
-
 
+
   you will get what you probably wanted:
   you will get what you probably wanted:
-
 
+
       <Code> Froob says, "What does %# do again?"
       <Code> Froob says, "What does %# do again?"
   
   

Revision as of 17:05, 14 May 2010

 The ']' command prefix allows players to inhibit the normal round of eval-
 uation that occurs when you enter a command. For example, normally when
 you type

      +com code=What does %# do again?

 you and others will see

       Froob says, "What does #12345 do again?"

 because the %# gets evaluated and expanded into your dbref. But instead, if
 you type

      ]+com code=What does %# do again?

 you will get what you probably wanted:

      <Code> Froob says, "What does %# do again?"

 The ] command prefix works with all commands including $commands that you
 code on objects yourself.