mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2003
Posts: 12
D
Pikka bird
OP Offline
Pikka bird
D
Joined: Jul 2003
Posts: 12
help im looking for an auto kick for GalaxyNet or at lest a place to go to learn how to make one

Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Assuming you are referring to some simple channel protection stuff and not mindless random stuff, fully commented code to get you started can be found here: http://helpdesk.zaz.net/documents/protection.php


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
Joined: Jul 2003
Posts: 12
D
Pikka bird
OP Offline
Pikka bird
D
Joined: Jul 2003
Posts: 12
LocutusofBorg thats not what i was looking for mybe i asked the wrong Q is there a black list i think its called if soo what is it? becuse when i join a room i get kicked by a op its not a ban but nomatter what i join the room and like 30 sec l8er im kicked??

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
A blacklist would only work if you are also an op in the channel, obviously you cannot kick/ban a user when you don't have ops.
Code:
menu nicklist {  
  Ban Userlist  .Add: {
    guser 666 $$1 3
    kick $comchan($$1,1) Blacklisted.
  }  
  .Rem: { 
    ruser $$1
  }
}
on *:JOIN:#: {  
  if (666 isin $level($address($nick,3))) && ($me isop $chan) {    
    ban $chan $nick 3    
    kick $chan $nick Blacklisted.  
  }
}

Is this what you are after, or something similar, sorry I have just woken up.

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Sorry, that first bit should look like.
Code:
menu nicklist {    
  Ban Userlist  
  .Add: {    
    guser 666 $$1 3    
    kick $comchan($$1,1) Blacklisted.  
  }    
  .Rem: {     
    ruser $$1  
  }
}

Joined: Jul 2003
Posts: 12
D
Pikka bird
OP Offline
Pikka bird
D
Joined: Jul 2003
Posts: 12
Thanks for the help let you know if it works cool

Edit: ok it works fine now i just have to figure out how to remove the list

Last edited by damdevil; 13/08/03 01:48 AM.
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I figured that would be a problem as you would need to remove the user in the channel because it pops up in the nicklist.
Try this instead..
Code:
menu channel {
  Ban Userlist
  .Rem: {    
    ruser $$?="Nickname to remove" $+ !
  }
}

menu nicklist { 
  Ban Userlist  
  .Add: {    
    guser 666 $$1 8    
    kick $comchan($$1,1) $$1 Blacklisted.  
  }    
  .Rem: {    
    ruser $$1 
  }
}

on *:JOIN:#: {    
  if (666 isin $level($address($nick,3))) && ($me isop $chan) {        
    ban $chan $nick 3       
    kick $chan $nick Blacklisted.    
  }
}


Link Copied to Clipboard