#CLASS {TradeNotif}
#ALIAS {trnotifhelp} {#SHOW {Trade notification help:};#SHOW {trnotifon: Turns trade notification messages on (default is off).};#SHOW {trnotifoff: Turns trade notifications off.};#SHOW {tradec: Sets your default notification channel, or with no arguments, lists what that is, and whether or not trade notifications are on.}}
#ALIAS {trnotifon} {#T+ {TradeNotif|Events};#VAR {TRNotifS} {on};#SHOW {%ansi(bold,yellow)Trade notifications enabled}}
#ALIAS {trnotifoff} {#T- {TradeNotif|Events};#VAR {TRNotifS} {off};#SHOW {%ansi(bold,yellow)Trade notifications disabled}}
#ALIAS {tradec} {#IF (%null(%1)) {#SHOW {%ansi(bold,yellow)Notification channel: %ansi(bold,cyan)@TRNotif %ansi(bold,yellow)Status: %ansi(bold,cyan)@TRNotifS}} {#VAR TRNotif {%-1};#SHOW {Trade Notifications Channel: %ansi(bold,cyan)@TRNotif}}}
#VAR {TRNotif} {f} {f}
#VAR {TRNotifS} {off} {off}
#T- {TradeNotif|Events}
#T+ {TradeNotif|SUB}
#SA {Kernighan's Trade Notification Script V1.8}
#CLASS 0

#CLASS {TradeNotif|Events} {disable}
#TRIGGER {You feel as if you're being watched by many eyes.} {#EXEC @TRNotif Warning!! Kobolds!}
#TRIGGER {You spy a multitude of tiny footprints in the dust near the road.} {#EXEC @TRNotif Warning!! Kobolds!}
#TRIGGER {Your scalp prickles at the sibilant sound of leaves rustling.} {#EXEC @TRNotif Warning!! Kobolds!}
#TRIGGER {You hear the creak of a bowstring as an unseen hand draws it back.} {#EXEC @TRNotif Warning!! Kobolds}
#TRIGGER {You get an uneasy feeling and glance over your shoulder... at nothing.} {#EXEC @TRNotif Warning!! Bandits!}
#TRIGGER {You get an uneasy feeling and glance over your shoulder ... at nothing.} {#EXEC @TRNotif Warning!! Bandits!}
#TRIGGER {You glimpse a bandit dash by, just off the road!} {#EXEC @TRNotif Warning!! Bandits!}
#TRIGGER {You sense some movement to the side of the road.} {#EXEC @TRNotif Warning!! Bandits or Trolls!}
#TRIGGER {You hear the bone-chilling war cry of a horde of Trolls.} {#EXEC @TRNotif Warning!! Trolls!}
#TRIGGER {You realize that this road seems too quiet.} {#EXEC @TRNotif Warning!! Rogues!}
#TRIGGER {A loud *SNAP* of a footfall on a stick just off the road gives you pause.} {#EXEC @TRNotif Warning!! Rogues!}
#TRIGGER {Your instincts warn you of an ambush up ahead.} {#EXEC @TRNotif Warning!! Rogues!}
#TRIGGER {A flock of birds spring into the air just ahead.} {#EXEC @TRNotif Warning!! Rogues!}
#TRIGGER {You notice that everything is too quiet.} {#EXEC @TRNotif Warning!! Dogs and Demon Lord oh my!}
#TRIGGER {Undescribable fear grips you, you struggle just to breath!} {#EXEC @TRNotif Warning!! Dogs and Demon Lord oh my!}
#TRIGGER {The loud crack of a dimensional vortex collapsing nearby sets your hairs on end.} {#EXEC @TRNotif Warning!! Dogs and Demon Lord oh my!}
#TRIGGER {Your heart starts pounding as you are overcome by fear, a Demon must be close by!} {#EXEC @TRNotif Warning!! Dogs and Demon Lord oh my!}
#TRIGGER {An awful scent nearby alerts you to a possible Troll attack.} {#EXEC @TRNotif Warning!! Trolls!}
#TRIGGER {You hear the bone chilling war cry of a horde of Trolls.} {#EXEC @TRNotif Warning!! Trolls!}
#TRIGGER {You step on what used to be a human. Trolls must have ripped him apart.} {#EXEC @TRNotif Warning!! Trolls!}
#CLASS 0

#CLASS {TradeNotif|SUB} {enable}
#TRIGGER {You feel as if you're being watched by many eyes.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)KOBOLDS %ansi(bold,red)****}}
#TRIGGER {You spy a multitude of tiny footprints in the dust near the road.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)KOBOLDS %ansi(bold,red)****}}
#TRIGGER {Your scalp prickles at the sibilant sound of leaves rustling.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)KOBOLDS %ansi(bold,red)****}}
#TRIGGER {You hear the creak of a bowstring as an unseen hand draws it back.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)KOBOLDS %ansi(bold,red)****}}
#TRIGGER {You get an uneasy feeling and glance over your shoulder ... at nothing.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)BANDITS %ansi(bold,red)****}}
#TRIGGER {You get an uneasy feeling and glance over your shoulder... at nothing.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)BANDITS %ansi(bold,red)****}}
#TRIGGER {You glimpse a bandit dash by, just off the road!} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)BANDITS %ansi(bold,red)****}}
#TRIGGER {You sense some movement to the side of the road.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)BANDITS OR TROLLS %ansi(bold,red)****}}
#TRIGGER {You hear the bone-chilling war cry of a horde of Trolls.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)TROLLS %ansi(bold,red)****}}
#TRIGGER {You realize that this road seems too quiet.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)ROGUES %ansi(bold,red)****}}
#TRIGGER {A loud *SNAP* of a footfall on a stick just off the road gives you pause.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)ROGUES %ansi(bold,red)****}}
#TRIGGER {Your instincts warn you of an ambush up ahead.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)ROGUES %ansi(bold,red)****}}
#TRIGGER {A flock of birds spring into the air just ahead.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)ROGUES %ansi(bold,red)****}}
#TRIGGER {You notice that everything is too quiet.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)DEMON LORD %ansi(bold,red)****}}
#TRIGGER {Undescribable fear grips you, you struggle just to breath!} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)DEMON LORD %ansi(bold,red)****}}
#TRIGGER {The loud crack of a dimensional vortex collapsing nearby sets your hairs on end.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)DEMON LORD %ansi(bold,red)****}}
#TRIGGER {Your heart starts pounding as you are overcome by fear, a Demon must be close by!} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)DEMON LORD %ansi(bold,red)****}}
#TRIGGER {An awful scent nearby alerts you to a possible Troll attack.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)TROLLS %ansi(bold,red)****}}
#TRIGGER {You hear the bone chilling war cry of a horde of Trolls.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)TROLLS %ansi(bold,red)****}}
#TRIGGER {You step on what used to be a human. Trolls must have ripped him apart.} {#SUB {%ansi(bold,red)    **** %ansi(bold,green)TROLLS %ansi(bold,red)****}}
#CLASS 0