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
Hemdall
Wanderer


Joined: 30 Nov 2006
Posts: 50

PostPosted: Fri Sep 03, 2010 3:13 am   

How to execute macro from script?
 
Hello,
I'd like to execute macro not by pressing specific combination of keys but calling it from script - is there any way to do that?

Thanks in advance for any suggestions.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri Sep 03, 2010 4:50 pm   
 
Take the code from your macro and put it into a "Alias" (see the #ALIAS command). Then call this alias from your script, and then in your Macro, change it to execute the alias instead of sending the text to the MUD.
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