; --------------------------------------------------------------- --- -- - ; | additional window script for mnet ; --------------------------------------------------------------- --- -- - ; | Author: Calis ; | Version: 0.9 ; | IRC: #quadaver (Quakenet) ; | replace the -quad- with the part your bots sends out (1) ; | replace the nicks of the bots if they differ from those (2) ; --------------------------------------------------------------- --- -- - ;on ^*:TEXT:*-quad-*:#: { ;# <-- here (1) ; if ((QuaDev == $nick) || (AQ2_0? iswm $nick) || (Quadaver == $nick)) { ;# <-- and here (2) ; set %mnetmsg.1 $1- ; if (%mnetmsg.1 != %mnetmsg.2) { ; WINDOW -e @mnet ; ECHO @mnet $timestamp $1- ; /mnetmsgvar ; halt ; } ; elseif (%mnetmsg.1 == %mnetmsg.2) { ; halt ; } ; } ;} on ^*:TEXT:*:#: { if ((QuaDev == $nick) || (AQ2_0? iswm $nick) || (QUADAVER == $nick)) { ;# <-- here (2) if (-quad- isin $1-) { ;# <-- here (1) set %mnetmsg.1 $1- if (%mnetmsg.1 != %mnetmsg.2) { WINDOW -e @mnet ECHO @mnet $timestamp $1- /mnetmsgvar halt } elseif (%mnetmsg.1 == %mnetmsg.2) { halt } } elseif (-spam- isin $1-) { ;# <-- here (1) set %mnetmsg.1 $1- if (%mnetmsg.1 != %mnetmsg.2) { WINDOW -e @mnet ECHO @mnet $timestamp $1- /mnetmsgvar halt } elseif (%mnetmsg.1 == %mnetmsg.2) { halt } } elseif (-AQ2- isin $1-) { ;# <-- here (1) set %mnetmsg.1 $1- if (%mnetmsg.1 != %mnetmsg.2) { WINDOW -e @mnet ECHO @mnet $timestamp $1- /mnetmsgvar halt } elseif (%mnetmsg.1 == %mnetmsg.2) { halt } } } } ALIAS mnetmsgvar { set %mnetmsg.2 %mnetmsg.1 } on *:EXIT: { unset %mnetmsg.* }