Unknown2007-01-02 17:48:16
currently my system is complicated considering I use the function keys for sweeps and jabs and the numpad to swing. is there a way to streamline this so I can use the numpad for both? I know i'll need a variable for turning jab nmode on and off I juest don't know how I'll the jab mode onto the numpad in mush.
Shorlen2007-01-02 21:13:35
QUOTE(ninja2784 @ Jan 2 2007, 12:48 PM) 368662
currently my system is complicated considering I use the function keys for sweeps and jabs and the numpad to swing. is there a way to streamline this so I can use the numpad for both? I know i'll need a variable for turning jab nmode on and off I juest don't know how I'll the jab mode onto the numpad in mush.
I don't know how to do it in Mush, but that's trivial in zMUD. In zMUD, you'd have two classes, one with the macros for swings and the other with the macros for jabs, and you'd just have an alias that turns one class on and the other off to switch between the two.
Okin2007-01-03 00:06:04
I use MUSH, so I don't know if this is an option for you, but what I do is use the CTRL, ALT and SHIFT keys as modifiers. This is how I do my hexes. So, for example, CTRL-X might be "draw worms", ALT-X is "hex @target with worms", SHIFT-X is "whammy @target with worms" and etc. I don't know how convenient that would be for you.
Kaenyte2007-01-03 00:15:54
It might not be for him, but it is for me...
Now why the bugger didn't I think of that earlier?
Now why the bugger didn't I think of that earlier?
tarik2007-01-16 23:46:04
I use the keypad for almost everything in MUSHclient. I have it set up so that the keypad on its own sends movement commands, but can also be combined with other keys and aliases to do whatever you want.
Under configuration->input->keypad I have "kp sw" in box 1, "kp s" in box 2, "kp se" in 3 etc. So each keypad number sends kp and the corresponding direction.
I then have an alias which matches on:
that sends to script:
This essentially appends the direction, "sw", "n" etc. to whatever I have typed in the input buffer, checks for matching aliases and then sends to the mud.
For example, an alias:
to send:
will allow you to type b, then just hit a direction on the keypad to block it. The same can be done for any directional commands such as swim, sprint etc.
Although the keypad is sending a direction you can still use it for non directional commands by matching with an alias. I used to have main attack skills as "a" plus a keypad number, cures with "c" and defensive skills with "d".
Example:
I found this much faster than typing out aliases (only 2 keypresses), as well as allowing for potentially far more combinations (9 per letter) than just using CTRL or ALT etc.
Under configuration->input->keypad I have "kp sw" in box 1, "kp s" in box 2, "kp se" in 3 etc. So each keypad number sends kp and the corresponding direction.
I then have an alias which matches on:
CODE
^kp (.*?)$
that sends to script:
CODE
world.execute world.pushcommand & " %1"
This essentially appends the direction, "sw", "n" etc. to whatever I have typed in the input buffer, checks for matching aliases and then sends to the mud.
For example, an alias:
CODE
^b (.*?)$
to send:
CODE
block %1
will allow you to type b, then just hit a direction on the keypad to block it. The same can be done for any directional commands such as swim, sprint etc.
Although the keypad is sending a direction you can still use it for non directional commands by matching with an alias. I used to have main attack skills as "a" plus a keypad number, cures with "c" and defensive skills with "d".
Example:
CODE
^a nw$
^c sw$
^d ne$
etc...
^c sw$
^d ne$
etc...
I found this much faster than typing out aliases (only 2 keypresses), as well as allowing for potentially far more combinations (9 per letter) than just using CTRL or ALT etc.
Unknown2007-01-18 01:18:17
QUOTE(tarik @ Jan 17 2007, 12:46 AM) 374194
smart stuff
That's pretty clever. Wish I'd thought of that back when I had a numpad. The simplest way to switch between two modes is this: Create an alias for each keypad key and stick it in the appropriate box in Configure > Keypad. For instance, alias Keypad1 will do:
QUOTE
if getvariable ("mode") = "swing" then
send "swing whatever"
elseif getvariable ("mode") = "jab" then
send "jab whatever"
end if
send "swing whatever"
elseif getvariable ("mode") = "jab" then
send "jab whatever"
end if
Have another couple of aliases that set "mode" to "swing" or "jab". Possibly assign those to macros too. Cheers.
Unknown2007-01-18 18:20:42
wow this has been very helpful
Laysus2007-01-18 19:17:40
QUOTE(Okin @ Jan 3 2007, 12:06 AM) 368774
I use MUSH, so I don't know if this is an option for you, but what I do is use the CTRL, ALT and SHIFT keys as modifiers. This is how I do my hexes. So, for example, CTRL-X might be "draw worms", ALT-X is "hex @target with worms", SHIFT-X is "whammy @target with worms" and etc. I don't know how convenient that would be for you.
Hexes are better done if you can do a good combo system with one button for draw and one button to throw.