alias highlights { if ($$1 == on) { set %highlights on window @highlights echo -a Highlights are now ON } if ($$1 == off) { unset %highlights window -c @highlights echo -a Highlights are now OFF } } on *:TEXT:*:#:{ if (*YOUR NICK* iswm $1-) && (%highlights == on) { beep 3 echo @highlights 14 $nick 7in14 $chan 7has highlighted you with the message14 $1- $+ . } } on *:ACTION:*:#:{ if (*YOUR NICK* iswm $1-) && (%highlights == on) { beep 3 echo @highlights 14 $nick 7in14 $chan 7has highlighted you with the action14 $1- $+ . } } on *:START:{ if (%highlights == on) window @highlights }