I wrote this script and I want it to block all links posted by people who have a user level of 1. This all seems to be working except if somebody says 'intercom' or any word with 'com' in it. I thought it would only timeout the people who say something with '.com' but that doesn't seems to be the case.
on $+1:TEXT:/http|https|www.|.com/:#:{
timerlink1 1 2 msg $chan .timeout $nick 1
timerlink2 1 2 msg $chan $nick $+ : Please ask before posting links, thank you.
}
Any help would be appreciated.