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
njung
Newbie


Joined: 22 May 2018
Posts: 7

PostPosted: Tue May 22, 2018 6:15 pm   

"push" toggle button from script
 
Hi all,

I have created toggle buttons to enable/disable certain settings (e.g. variables, classes, etc).
Is there a way to "push" a button using a script?
I could use an alias to execute the same commands as I have in the button value but I'd rather not.
Any suggestions?

Thanks,
N.
Reply with quote
shalimar
GURU


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

PostPosted: Tue May 22, 2018 8:38 pm   
 
You can indeed, you just need to fill in the ID field for the button first.

#BUTTON ID

should act as a click
_________________
Discord: Shalimarwildcat
Reply with quote
njung
Newbie


Joined: 22 May 2018
Posts: 7

PostPosted: Tue May 22, 2018 9:19 pm   
 
It does. Thank you sir!
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