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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
jurz
Novice


Joined: 22 Feb 2002
Posts: 48
Location: Latvia

PostPosted: Wed Aug 24, 2005 5:54 am   

Macro and buttons *solved*
 
Hi,

I have a two state button in zMUD and I'd like to create a shortcut for it like Alt+6 so that it changes to the next state. However I was unable to find a command through help or forum that would actually "push" the button. Any hits?

Thanks in advance.

P.S. RTFM helped it :)
_________________
-Jurz
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: Wed Aug 24, 2005 11:56 am   
 
Wanna share the info? Others might not know :-)
_________________
http://www.Aardwolf.com
Reply with quote
jurz
Novice


Joined: 22 Feb 2002
Posts: 48
Location: Latvia

PostPosted: Wed Aug 24, 2005 12:00 pm   
 
Heh sure. You can push the button by using #BUTTON <somebutton>,
Personally I assigned a keyboard macro Alt+X and command #BUTTON <mybutton> so that
I dont have to move mouse :)
_________________
-Jurz
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Wed Aug 24, 2005 3:39 pm   
 
buttons just crowd my screen... i use fkeys and #IF to toggle with like:

Code:

#IF {@autospell = 0} {
  #SHOW {%ansi(green)Automatic respell is now %ansi(high,white)ON. %ansi(cyan)Use F8 to turn off.}
  autospell = 1
  } {
  #SHOW {%ansi(green)Automatic respell is now %ansi(high,white)OFF. %ansi(cyan)Use F8 to turn on.}
  autospell = 0
  }
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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