CMUD/ZMUD - Cycled Numpad keys

July 19, 2011 04:20AM
So, my current setup has NUM7, NUM1, and NUM8 set to execute commands stored within variables and NUM9 doing the "where" command. This gives me command execution with one button press without cluttering up my prompt.

#KEY NUM7 #EXECUTE {@favCmd}

I set the @favCmd with an alias and I surround it in quotes if it's going to be more than one word:
fav "hurl torso @target"

This can get tedious, though and there are often times when I want to use more than three favorite commands with single-button execution. Here's what I'd like to do:

Reassign "Page Up" and "Page Down" to cycle through a list which stores different sets of NUM1, 7, 8 button macros and still use the "fav" alias to set the current variables in that button set. I guess this would be akin to FM1 and FM2 on your car radio. If I knew how to make arrays in zScript, this would be easy, but I can't find reference to it.

Anyone have an idea how to do this?

sweet melt, loser
Subject Author Posted

CMUD/ZMUD - Cycled Numpad keys

The Baron July 19, 2011 04:20AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 29
Record Number of Users: 59 October 25, 2015
Record Number of Guests: 341 February 12, 2018