mIRC Home    About    Download    Register    News    Help

Print Thread
Check NIC #114817 18/03/05 04:28 PM
Joined: Feb 2005
Posts: 27
O
omen_253 Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Feb 2005
Posts: 27
Ok I'm back for more of your wisdom , lol .I'm sure this has been asked befor I have look but can seem to find it , What i' looking for is ,script that wil check nic to see if it registered or not and if not kick it out of the room...
Thx for your help again..Something that will check them 'on join'

Last edited by omen_253; 18/03/05 05:03 PM.
Re: Check NIC #114818 18/03/05 06:45 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Why don't you take the easy way out.

//mode $chan +R

Which stops people joining the channel who hasn't identified. This may vary on different IRCd's. I only use Conference Room servers so..

Re: Check NIC #114819 20/03/05 11:02 AM
Joined: Dec 2002
Posts: 788
C
Coolkill Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
You would need to do (depending on your services/network),

On *:Join:[color:red]#:{ whois $nick }[/color]

Which would 'On Join', whois the nickname to check if it is identified..

Then use a RAW event to catch if the user is 'identified'.. i.e.

raw 307:*identified*:{ [color:red]your commands }[/color]

Baring in mind you also need to store the channel to be able to know where to kick them from, failing that, use $comchan($nick,N).

If however your IRCd software does not produce a 'raw 307' you will need to NOTICE nickserv hopefully if they support an 'ACC' command, then parse its return using ON NOTICE.

Eamonn Burns.
PasteBin / Mekaneka