One from the vaults. This is one I wrote for my rogue of yesteryear when I was -very- bored. It's in Mudmaster format, but it should convert to Zmud or whatever pretty easily. An action is like a trigger, and an alias is, well, an alias.
Code:
/action {You sprint %0.} {/var fled $0} {}
/alias {bs %0} {backstab $0;/var victim $0} {}
/alias {cd} {/if {$fled="north"} {south};/if {$fled="northwest"} {southeast};/if {$fled="west"} {east};/if {$fled="southwest"} {northeast};/if {$fled="south"} {north};/if {$fled="southeast"} {northwest};/if {$fled="east"} {west};/if {$fled="northeast"} {southwest};/if {$fled="up"} {down};/if {$fled="down"} {up}} {}
/alias {ff} {cd;circle $victim} {}
Basically, it's for repeat circle-stabbing following a backstab. Backstabbing someone with the shortcut 'bs' stores the name of the person you stabbed under the variable 'victim'. You flee, it captures the direction you sprinted in under 'fled'. The alias 'cd' reverses the direction you fled in, while 'ff' combines that with a circle stab of your last backstab victim. For extra fun, tie 'flee' and 'ff' to two different hotkeys. Backstab, flee, circle, flee, circle, etc.
The only catch is you can't stack it. You have to wait until you've actually fled before you fire off the 'ff', or it won't have had time to figure out where you ran to and you'll head off in some strange direction. It also fails if you run through a named exit (i.e. 'gate') instead of a standard direction. I'm sure there's some clever way to address the former issue by delaying the interpretation of the variable or some such, but I'm not technical enough to figure it out.