|
Haldrik Wanderer
Joined: 03 Sep 2007 Posts: 88
|
Posted: Wed Sep 24, 2008 5:32 pm
Cmud commands through variables- i.e. #step |
I've been trying to pass #step through a variable. It doesn't seem to be working :)
I'm fairly certain there is a way, just not sure.
Any help would be appreciated.
Thanks!! |
|
|
|
Toxic Adept
Joined: 27 May 2008 Posts: 299
|
Posted: Wed Sep 24, 2008 6:28 pm |
What do you mean exactly? Code Examples?
|
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Wed Sep 24, 2008 6:55 pm |
Try using #EXEC @var. Can't guarantee it'll work because I'm at work with no access, but worth a shot. :p
Charneus |
|
|
|
Haldrik Wanderer
Joined: 03 Sep 2007 Posts: 88
|
Posted: Wed Sep 24, 2008 9:58 pm |
Pattern: ^Roundtime: %1 {sec|seconds|seconds}.
Exec: #var temp_RT %1
#alarm {+@temp_RT} {@currentSkill}
currentskill = #step
When used, this sends the #STEP directly to the mud instead of executing.
Charneus: Looks like its working so far!! :) I just replaced all my @currentskill with "#exec @currentskill" !!
Thanks :) |
|
|
|
|
|