Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Haldrik
Wanderer


Joined: 03 Sep 2007
Posts: 88

PostPosted: 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!!
Reply with quote
Toxic
Adept


Joined: 27 May 2008
Posts: 299

PostPosted: Wed Sep 24, 2008 6:28 pm   
 
What do you mean exactly? Code Examples?
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: 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
Reply with quote
Haldrik
Wanderer


Joined: 03 Sep 2007
Posts: 88

PostPosted: 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 :)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net