@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.
}