|
jurz Novice
Joined: 22 Feb 2002 Posts: 48 Location: Latvia
|
Posted: 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 |
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Wed Aug 24, 2005 11:56 am |
Wanna share the info? Others might not know :-)
|
|
|
|
jurz Novice
Joined: 22 Feb 2002 Posts: 48 Location: Latvia
|
Posted: 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 |
|
|
|
Private Adept
Joined: 10 Jan 2002 Posts: 264 Location: USA
|
Posted: 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
}
|
|
|
|
|
|
|