#TRIGGER {[[ ](%d) (%w)[ ~]] (%w)(%s)(%d)[/ ](%d) hp(%s)(%d)[/ ](%d) mana(%s)(%d)[/ ](%d) mv} {#var groupmem %additem(%lower(%3),@groupmem)} {group} #TRIGGER {^You join (%w)'s group.$} {#var tank %1;#echo Tank set to %1.} {group} #TRIGGER {^(%w) stops following you.$} {get_color;colorize @bclr @clr %1;gt @cnme left the group. Bye bye.} {group} #TRIGGER {^(%w) now follows you.$} {#IF %ismember(%lower(%1),@bogus_groupie|%lower(%char)) {#no} {last %lower(%1);group %1}} {group} #TRIGGER {^(%w) joins your group.$} {get_color;moni %1;colorize @bclr @clr %1;gt Welcome @cnme|w|, @title |@bclr|@level |w|@race @class |w|to the group.} {group} #TRIGGER {(%w) the (%*) is a (%d)(%w) level (%*), was born} {#var nme %1;#var race "%2";#var level %3;#var class "%5";#var title "level"} {group} #TRIGGER {(%w) the (%*) is a (%d)(%w) level ({Hero|Lord}) (%*), was born} {#var nme %1;#var race "%2";#var level %3;#var title "%5 level";#var class "%6"} {group} #TRIGGER {^~[HERO INFO~]~: ({@groupmem}) has just increased in power to Hero Level (%d)!} {get_color;colorize @bclr @clr %1;#if (%1<>%char) {gtell Congratulations @cnme |w|on Hero Level |@bclr|%2|w|!!}} {group} #VAR bogus_groupie {me|self} #ALIAS get_color {#var colors {y|g|b|r|c|p};#var bright_colors {by|bg|bb|br|bc|bp};#ad ccc 1;#if (@ccc>%numitems(@colors)) {#var ccc 1};#var clr %item(@colors,@ccc);#var bclr %item(@bright_colors,@ccc)} #ALIAS colorize {#var cnme "";#var length %len(%-3);#loop 1,@length {#case (%{i}) {#var use_color %1} {#var use_color %2};#var cnme @cnme|@use_color|%copy(%-3,%{i},1)}}