FinneyOwnzU wrote:
Making a new "flee" class of triggers and aliases for zMUD/cMUD to print the direction you fled to the screen. Currently, the game shows the direction you run/dart/gallop/ride before it shows the flee message, which can easily be lost in scroll spam - especially since the room's description you flee into is part of the scroll before the flee message is sent by the MUD.
The new class will print in bold cyan (#CO 11) the following: You fled NORTH! (or whatever direction is captured by the variable) after the Run away! Run away! Should make it a little easier to figure out where you fled.
Not the targeted flee command you wanted, but better than nothing. I will post it in the Clients forum when I finish it.
Finally got around to doing this - sort of ham-handed and not as elegant as I would like, but it works nonetheless. You will need to type "fle" instead of flee in order for the direction your character fled to be printed to the screen.
It looks like this in the game:
Code:
[HP:100%] [ME:100%] [PE: 57%]
> flee
You run south.
A Small Hallway
This small corridor proceeds north and south in a direct line. The walls
have been inlayed with marble panels which gleam with the golden light of
two small sconces connected to the walls. The floor beneath you has been
constructed from a pale wood- pine, perhaps- which has been lacquered to
reflect a soft shine. To your north you can hear the subtle sounds of the
trickling water which pours merrily from the fountain in the foyer.
Obvious exits: n s
Run away! Run away!
>>>>>>> You FLED south <<<<<<<
Enter the following on the command prompt in zMUD/cMUD, if you want to use it:
#ALIAS fle {#T+ Flee;flee}
#TRIGGER {You {run|dart|gallop} (%w)} {#VAR panic %1} "Flee"
#COND {Run away! Run away!} {#SAY ~>~>~>~>~>~>~> You FLED @panic ~<~<~<~<~<~<~<;#T- Flee} "Flee"