Coders-IRC
IRC for Coders
![](https://coders-irc.net/ecms/uploads/users/user-12/profile/tn_img_91379f8d2f527518286dedc8b56b2a02.jpg)
Ban users via IP
![image](https://www.coders-irc.net/ecms/uploads/sitesettings/posticons/tn_img_5167f589c181eee3618b6128ad553d96.png)
on *:ban:#:{
set %banned $2-
if ($bnick != $null) && ($bnick != $me) && ($ialchan(%banned,#,0) == 0) { kick # $bnick BANNED | return }
if ($gettok($address($me,2),2,64) isin $ialchan(%banned,#,1)) { halt | return }
else {
set %totalz $ialchan(%banned,#,0)
:start
inc %lqlq
if (%lqlq > %totalz) { goto end | return }
else {
kick # $ialchan(%banned,#,%lqlq).nick BANNED
goto start
}
:end
unset %lqlq
unset %totalz
}
}
![](https://coders-irc.net/ecms/uploads/users/user-12/profile/tn_img_91379f8d2f527518286dedc8b56b2a02.jpg)
Eggdrops detection
![image](https://www.coders-irc.net/ecms/uploads/sitesettings/posticons/tn_img_5167f589c181eee3618b6128ad553d96.png)
on !*:join:#:{ set %chan # | .ctcp $nick VERSION }
on !*:ctcpreply:VERSION*:{
if *eggdrop* iswm $1- {
kick %chan $nick Eggdrops are not allowed $+ $chr(13) $+ mode %chan +b $wildsite
}
}
![](https://coders-irc.net/ecms/uploads/users/user-12/profile/tn_img_91379f8d2f527518286dedc8b56b2a02.jpg)
How do I connect to rooms using IRC Client?
![image](https://www.coders-irc.net/ecms/uploads/sitesettings/posticons/tn_img_5167f589c181eee3618b6128ad553d96.png)
order to authenticate an account on the Chat Network using an IRC client, you first must create an account and join a room with it using the web chat. Then you can connect with your IRC client and authenticate using the following structure.
on ^*:logon:*: {
.raw AUTHTYPE IRCWX1
.raw CLIENTMODE cd2
.raw USER $me $me $me : My Connection
.raw LOGINH <email address> <password in md5 format>
}
ircWx using % in room names. ie: %#channelname. ircWx also supports spaces in channel names. Spaces are replaced by \b in IRC Clients. ie: %#My\bChannel
cd2 is for basic connections. cd1 requires a socket connection and edits to localwrite
ircWx uses [style] codes. You can strip them with the following regsubex
$regsubex($1-, /\[(?:style\x20.*?|/style)\]/gi,$null)