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


Joined: 05 Sep 2008
Posts: 52

PostPosted: Mon Nov 14, 2022 6:16 am   

is it possible to temporarily hold all commands?
 
is there a way to delay things from being sent to the mud, hold them in a variable or somthing, then send them once a certain criteria is met?

in my mud magic practice is something you can mess up by doing pretty much anything until it has been completed, but there is a window between practice events where you could speak or emote without disturbing practice. is there a high level way to capture all text/commands to be sent to the mud that can be easily be switch on and off?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Mon Nov 14, 2022 6:23 pm   
 
you can make a list of the commands you want to do

#ADDITEM toDo {sweep floors}

The command form does not allow duplicates, however, the function form does.

toDo=%additem("wash clothes", @toDo)

Then when you are ready for the next action:

#EXEC %pop(toDo)

Check to '#HELP #ONINPUT' for capturing the commands you are typing in.

Any named setting can have its enabled status toggled via:

#T+ settingName
#T- settingName

Make use of that ID field on your settings for more advanced features like this.
_________________
Discord: Shalimarwildcat
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