Not sure if anyone still needs this but here's a version I found lying around on the internet which I made a few changes to. It's not as feature rich as the other script but it does the job just fine
; additional window script for mnet technology
; Copyright (C) 2004 Nils Mause
;
; This program is free software; you can redistribute it and/or
; modify it under the terms of the GNU General Public License
; as published by the Free Software Foundation; either version 2
; of the License, or (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program; if not, write to the Free Software
; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
; changelog
;
; 2004-10-21
; the script is released as GPL
;
; 2004-10-22
; using regex instead of ?? (better "finetuning"
;
; 2004-10-24
; no self repeating messages, f.ex. if one is colored or bold and the other is "normal"
; 2007-09-08
; update by biomass to adjust script for the QW ServeMe bot
; --------------------------------------------------------------- --- -- -
; | Author: Calis
; | Version: 1.02
; | IRC: #quadaver #messagenet (Quakenet)
; | e-mail: calis@quadaver.net
; | any feedback is appreciated
; | replace the -spam- with the part your bot always sends out (1)
; | or add new parts with (xxx isin $1-) at (1) but don't forget the || , they mean or
; --------------------------------------------------------------- --- -- -
on ^*:TEXT:*:#: {
if (( $regex( $nick, \[ServeMe\][0-9][0-9] ) == 1 )) {
if ((-spam- isin $1-) || (-qw- isin $1-)) {
set %c_mnet.msg.1 $strip( $1- , buc )
if ( $strip( %c_mnet.msg.1 , buc ) != $strip( %c_mnet.msg.2 , buc ) ) {
WINDOW @ServeMe
ECHO @ServeMe $timestamp $network $1-
/servememsgvar
halt
}
elseif ( $strip( %c_mnet.msg.1 , buc ) == $strip( %c_mnet.msg.2 , buc ) ) {
halt
}
}
}
}
ALIAS servememsgvar {
set %c_mnet.msg.2 $strip( %c_mnet.msg.1 , buc )
}
on *:EXIT: {
unset %c_mnet.*
}