 |
ToyMage Apprentice
Joined: 01 Sep 2005 Posts: 120
|
Posted: Thu Oct 27, 2005 8:59 am
Variable into Copy Memory? |
Hi,
#MATH 3+3
how can i make the above output go into Copy memory so i can just Paste later?
Confused Mage |
|
|
 |
Insomniac Wanderer
Joined: 25 Mar 2004 Posts: 78 Location: United Kingdom
|
Posted: Thu Oct 27, 2005 11:59 am |
The command is %clip
#ALIAS Test {#MATH TestVariable 3+3;#NOOP %clip( @TestVariable)} |
|
_________________
No-one ever gets flamed for posting too much information. Conform to the PPP (Preferred Posting Protocol) and give as much information as possible, including MUD output where needed. |
|
|
 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Thu Oct 27, 2005 2:25 pm |
You could also do #NOOP %clip( %eval ( 3 + 3) )
|
|
_________________ Asati di tempari! |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Oct 27, 2005 5:13 pm |
Also keep in mind that the #CALL command is the newer replacement for #NOOP. Using #CALL instead of #NOOP will give your scripts greater compatibility with future versions.
|
|
|
 |
|
|