| |
|
| peterpannboy - Thu May 03, 2012 10:26 pm |
|
|
Hi, guy im trying to modify another snipet to make it where it doesn't get triggered by ops and only ops can turn it off/on im new at this im sure i butchered it any help would be appreciated
on $*:text:/\.(?=com\b|net\b|org\b|ca\b|uk\b|tv\b|name\b|ly\b)/iS:#:
if (user isop #) halt
if (%links == 1) {
.kick # $nick 2 | /describe $chan Whoa! $nick $+ , Didn't you read the rules below?? Take this time to read them )
}
}
on *:text:!Links on:#:if (user isop channel){
%links = 1
describe $chan Links are now going to get Timeouts.
}
on *:text:!Links off:#:if (user isop channel){
%links = 0
describe $chan Links are now Allowed!
{[/code] |
|
|
|
| KilllerX - Fri May 04, 2012 12:12 am |
|
|
here you go. merged the !links on off. and will only accept it, if it is a mod. |
|
|
|
| spartan23 - Fri May 04, 2012 8:08 am |
|
|
To Multiple Chan ... Could Be:
|
|
|
|
| _Dean_ - Fri May 04, 2012 7:23 pm |
|
|
| you need to check first, if you're an op in that channel to kick, if not, it will return an error |
|
|
|