|
lYPh Newbie
Joined: 14 Apr 2003 Posts: 4 Location: Australia
|
Posted: Mon Apr 14, 2003 1:56 pm
#LOOP |
hello,
zMUD 6.4 and i have an alias to make macros for all of the F-KEYS:
#AL test {#LOO 1,12 {#KE F%i {target=%item(@target_list,%i)}}}
the value of the keys end up as:
target=%item(@target_list,%i)
but i want to get:
(for macro 1) target=%item(@target_list,1)
(for macro 2) target=%item(@target_list,2)
i can get it to work for making aliases
only when entered in the command bar, not an imported script:
#LOO 1,12 {#AL %i {target=%item(@target_list,%i)}}
but just not macros or buttons
does any of this make sense? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Apr 14, 2003 3:40 pm |
Is there some reason not to just make them individually? After all, the only things you have to change are the function-key number and the number in %item. That shouldn't take more than a few seconds each at the command line and you could have them all finished in under a minute. If you do them in the editor, just copy the first one to the clipboard then paste it back in eleven times and make those two changes, it still shouldn't take more than a minute or two.
#KEY F1 {target = %item(@target_list, 1)}
LightBulb
Advanced Member |
|
|
|
lYPh Newbie
Joined: 14 Apr 2003 Posts: 4 Location: Australia
|
Posted: Mon Apr 14, 2003 3:55 pm |
just wanted to know; thanks anyway
|
|
|
|
|
|
|
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
|
|