# Enemy movements by Urian # For ZMUD 6.* # This set of trigger alters the output of mume so that instead of "*Enemy* leaves east" it # alters it to "*Enemy* leaves >>>EAST>>>" or <<", %if( "%1"="up", "u", %if( "%1"="down", "d", "?")))))) # The above variable defines the custom exit character used and can be modified by simply # putting a different character in to it, eg. instead of :"%1"="north", "^" (that defines # the "^" character to be used with north) you could use : "%1"="north", "n" (would define # the "n" character to be used with north) # Then the trigger as follows Pattern : ~*(*)~* leaves (%w)(*) Value : #SUB {%ansi( BOLD, MAGENTA)*%1* leaves %repeat( @Dirchar ( %word( "%2", 1)), 3)%upper( %word( "%2", 1))%repeat( @Dirchar( %word( "%2", 1)), 3)%3} # Again customizing is possible firstly by altering the output colour by changing the # "%ansi( BOLD, MAGENTA)" string to your needs, eg. "%ansi ( BOLD, YELLOW)" and also the # number of exit characters is changeable, by default this is 3 but can be whatever # by customizing the "%word( "%2", 1)), 3)" and "%word( "%2", 1)), 3)" strings where # the last number (, 3) defines the number, eg ,3 will give <<