MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sun Jun 01, 2003 6:30 pm |
quote:
Lets say I have an attack variable of Targets=Guard|Prisoner|Thief and I am using a macro that does #FORALL @Targets {kill %i}. Now lets say that I want to change the order to Prisoner|Guard|Thief. Is there a simple way to do this? I have not noticed any functions or commands that make this a one line operation. For that matter is there a good way at all to do this?
#variable would be a good choice, if you want to limit the rearranging to specific sequences. If you want a completely random reshuffling, though, you'll have to write some code to do it.
li'l shmoe of Dragon's Gate MUD |
|