These mud client triggers have been discussed with a NewMoon Lord. If for any reason they become unacceptable I will remove them immediately.
Note they are for TinyFugue, and very colourful!!
; ------------------------------------------------------------------------------
; Informative Triggers
; ------------------------------------------------------------------------------
; ------------------------------------------------------------------------------
; INFORM: Rowanwood pipe (aromatic pipeweed) [gp restorative] RUN OUT!
; ------------------------------------------------------------------------------
/def -wNewMoon -F -t'Your rowanwood pipe goes out.' inform_pipe = \
/echo -aCbgblue - +-+-+-+-+-+-+-+-==-+-+-+-+-+-+-+-+ %; \
/echo -aBCbgblue -p | @{Cred}-=( Your PIPE has run out! )=- @{n}| %; \
/echo -aCbgblue - +-+-+-+-+-+-+-+-==-+-+-+-+-+-+-+-+ %;
; ------------------------------------------------------------------------------
; INFORM: Crimson Ring (recall) is out of charges!
; ------------------------------------------------------------------------------
/def -wNewMoon -F -t'Its power exhausted, * crimson ring crumbles *' inf_ring = \
/echo -aCbgblue - +-+-+-+-+-+-+-+-+-+-+-===-+-+-+-+-+-+-+-+-+-+-+ %; \
/echo -aBCbgblue -p | @{Cred}-=( our CRIMSON RING is out of charges! )=- @{n}| %; \
/echo -aCbgblue - +-+-+-+-+-+-+-+-+-+-+-===-+-+-+-+-+-+-+-+-+-+-+ %;
; ------------------------------------------------------------------------------
; INFORM: Amethyst Amulet (hither) is out of charges!
; ------------------------------------------------------------------------------
/def -wNewMoon -F -t'As the amulet gives up the last of its magic, *' inf_amu = \
/echo -aCbgblue - +-+-+-+-+-+-+-+-+-+-+-+-==-+-+-+-+-+-+-+-+-+-+-+-+ %; \
/echo -aBCbgblue -p | @{Cred}-=( our AMETHYST AMULET is out of charges! )=- @{n}| %; \
/echo -aCbgblue - +-+-+-+-+-+-+-+-+-+-+-+-==-+-+-+-+-+-+-+-+-+-+-+-+ %;
; ------------------------------------------------------------------------------
; ALIAS: Setup combat earmuffs.
; ------------------------------------------------------------------------------
/def combat = \
combat all %;\
combat fight-command %;\
combat fight-major %;\
combat group-command %;\
combat group-major %;\
combat my-command %;\
combat my-major %;\
combat other-command %;\
combat other-major %;\
combat other-protect
Before I knew the -w switch I also built this set a triggers for another mud.
I wanted to be like Father Wiggly:
/set where=an as yet unknown place, sorry /def -w'Forest' -F -mregexp -t'([^\[0-9]*)\[(.+)\]' set_my_position = \ /set where=%P1%; /def -w'Forest' -F -mregexp -t'([a-zA-Z]*) asks you: [W|w]here are you?' am_here = \ /let plname=$[tolower(%P1)]%; \ tell %plname I am at %whereIt didn't strike me that it would work on NM. So don't use it!! The -wForest makes it work only on the mud labeled Forest (which is one of the muds I had a little venture into when NM was down for a long period).
If anyone wants to give me their triggers, or suggest triggers, or want me to write them one... just tell me!
Back to Harry's Miscellaneous