1234567891011121314151617181920212223242526272829303132 |
- ; --------------------------------------------------------------
- ; | additional window script for mnet
- ; --------------------------------------------------------------
- ; | Author: Calis
- ; | Version: 1.0
- ; | 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)) { ; <-- and here (2)
- set %mnetmsg.1 $1-
- if (%mnetmsg.1 != %mnetmsg.2) {
- WINDOW -e @mnet
- ECHO @mnet $timestamp < $+ $nick $+ > $1-
- /mnetmsgvar
- halt
- }
- elseif (%mnetmsg.1 == %mnetmsg.2) {
- halt
- }
- }
- }
- ALIAS mnetmsgvar {
- set %mnetmsg.2 %mnetmsg.1
- }
- on *:EXIT: {
- unset %mnetmsg.*
- }
|