Hey geniuses, I need your help again..
Trying to do an anti spam that will block out and close dialogs..

In my REMOTES...
================
on *:open:?:*:{
if (%spam isin $strip($1-)) { .close -m $nick | echo -a 4Lame spammer found.. }
}

In my POPUPS..
===========
..Add Spam Words:{
var %newspamword $$?="Add a word to be considered as spam here"
set %spam %spam $+ : $+ %newspamword
}
..Remove Spam Words:{
echo -a %spam
var %removespamword $$?="Type the word to be removed.. A list is generated below"
}

In my VARIABLES...
===============
%spam mycelph.com:funy_pics.tripod.com:geocities.com:d3JpdG:w.stormpages.com:1mess:www.mtvxxx.com:Please visit our website

It doesn't work but I'm quite sure the problem lies with the $chr(58)
1)How do I get it to recognise each word as a different string using : as the seperator?
2)I want to make sure that it is stripped, without stripping it's effectively useless
3)The removal of words part.. I'm quite lost..
4)I'd like the echo -a %spam to be listed out line by line without : instead as a whole string of words..

Last edited by Hendon; 04/03/03 07:41 AM.

===================================
Live my life for a day.. I'll show you where I've been.