Fleeing the right way, ZMud triggers.

Scripts and support for your favorite MUD client.
Lilithelle
Sojourner
Posts: 230
Joined: Wed Oct 10, 2001 5:01 am
Location: Vancouver, BC, Canada
Contact:

Fleeing the right way, ZMud triggers.

Postby Lilithelle » Fri Dec 08, 2006 7:57 pm

Code: Select all

#ALIAS f {
  flee
  #if (%len( %1)=0) {#abort 1}
  #temp {^You flee (?)%w!} {#if (%1 <> %%1) {
      #exec %subchar( %%1, "densuw", "uwsnde")
      %-1
      } {%-2}}
  }

The f alias will allow you to specify which direction you wish to flee, incase the other directions are dangerous. f e would make you flee out of the room, if you flee any direction other than east it will take you immediately back to the room you left and east.
What if you want to enter a portal and have mobs engaged on you, just f en portal, you will flee out, come back and enter portal. What if you want to flee east, two down, east, use f e .dde

Code: Select all

#ALIAS fb {
  #temp {^You flee (?)%w!} {#exec %subchar( %%1, "densuw", "uwsnde")}
  flee
  }

The fb alias will cause you to flee and then immediately go back to the room you just left. Why? Say you're fighting five mobs and pris spray and blind three of them, no point tanking blind mobs.
Use them in good health.
Lilithelle
Gormal
Sojourner
Posts: 3917
Joined: Tue Feb 13, 2001 6:01 am
Location: A Whale's Vagina
Contact:

Postby Gormal » Wed Dec 27, 2006 3:38 pm

This is such a simple and awesome alias. Thanks Lili!
Tasan
Sojourner
Posts: 1710
Joined: Fri Mar 30, 2001 6:01 am
Location: Fridley, Mn USA
Contact:

Postby Tasan » Sun Jan 07, 2007 11:20 am

#sub {Lilithelle} {Brave Sir Robin}
Danahg tells you 'yeah, luckily i kept most of it in my mouth and nasal membranes, ugh'

Dlur group-says 'I have a dead horse that I'm dragging down the shaft with my 4 corpses. Anyone want to help me beat it?'

Calladuran: There are other games to play if you want to play with yourself.

Return to “MUD Client Help”

Who is online

Users browsing this forum: No registered users and 5 guests