|
Loto Apprentice
Joined: 05 May 2003 Posts: 194
|
Posted: Tue Aug 03, 2004 7:18 pm
Matching aliases and aliases with a variable. |
As zMUD doesnt let me have two aliases for the same word, is there a way to make an alias that does 'emote laughs at the crazy happeninings.' when i type 'laugh' but does 'emote laughs at %1' when i type 'laugh xxx' where xx is a persons name?
|
|
_________________ *Llewlyn* makes a strange sound but is suddenly very silent as you place a silver sai in his back! |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Aug 03, 2004 9:28 pm |
#AL laugh {emote laughs %if( %numparam(), at, at the crazy happenings.)}
|
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
|
nabob Beginner
Joined: 01 Aug 2004 Posts: 10
|
Posted: Thu Aug 05, 2004 11:35 pm |
LightBulb wrote: |
#AL laugh {emote laughs %if( %numparam(), at, at the crazy happenings.)} |
I pasted this to the command line on a whim. what I ended up with however, was the following:
alias.name: Laugh
alias.value: emote laughs at
I had to manually edit the alias.value to get the %if statement in.
I bring this up because it relates to the strange difficulty of importing even a simple one liner. Perhaps there is something I am missing or a setting that I have missed. Is there any way of reliably importing ASCII scripts? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Aug 06, 2004 3:33 am |
This is because you use nondefault Preferences, such as Expand Vars.
You've already started a topic to discuss your perception of the difficulty of 'importing' ASCII settings. Please stop trying to divert other topics. |
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
|
|
|