btw

if (+*a* iswmcs $1) which was mentioned before is incorrect.. it will also match +o-a for example (the first * of the wildmask matched with 'o-' )
You should use a regex for such sort of matching. eg:
if ( $regex($1,/\+[^-]*a/i) )


Edit: I started writing the post before I saw starbucks_mafia's one...

Last edited by dr_Eamer; 25/08/04 12:41 PM.

Maybe I wake up one day to notice that all my life was just a dream!