Link Kick
 
Post new topic   Reply to topic    Hawkee.com Forum Index -> mIRC Scripting
 
peterpannboy  -  Thu May 03, 2012 10:26 pm Reply with quote
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 Razz )
}
}
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 Reply with quote

Code

 


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 Reply with quote
To Multiple Chan ... Could Be:

Code

 
_Dean_  -  Fri May 04, 2012 7:23 pm Reply with quote
you need to check first, if you're an op in that channel to kick, if not, it will return an error
Display posts from previous:   
Post new topic   Reply to topic    Hawkee.com Forum Index -> mIRC Scripting All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.