@Jethro I got it.. Thanks tho jethro..
How does this look?
on $*:text:/.(?=com\b|net\b|org\b|ca\b|uk\b|tv\b|name\b|ly\b)/iS:#:{
if (%links == 1) {
.kick # $nick 2 | /describe $chan Whoa! $nick $+ , Didn't you read the rules below?? Take this time to read them B)
}
}
on *:text:!Links on:#:{
%links = 1
describe $chan Links are now going to get Timeouts.
}
on *:text:!Links off:#:{
%links = 0
describe $chan Links are now Allowed.
}
@Jethro This is for Justin tv servers.. I wanted a !on and !off script for it... so mods could control too not just through irc...
@Jethro jethro any idea how i would add a On/Off command for this link protection code you helped me with?
on @$*:text:/.(?=com|net|org|ca|uk|tv|name|ly)/iS:#:{
.kick # $nick 2 | /describe $chan Whoa! $nick $+ , Don't Post links in here without permission from a mod.. Cya in 10 mins B)
}
I found a On/Off script but I tried everything and cant seem to get it working properly.. this regex is confusing