I have been on IRC quite a bit lately, and I have been having some fun getting my current client, BitchX, working nicely. I have not done too much so far, but I have got a few more tricks up my sleeve.
First of all, the following in my ~/.bitchxrc file automatically validates me with NickServ on Freenode and Wyldryde:
# My "passwords"
assign FREENODE_PASSWORD password
assign WYLDRYDE_PASSWORD password
# Command to register with NickServ
# Sending the appropiate password to the network
alias nsreg {
userhost NickServ -cmd {
if ( rmatch($3@$4 NickServ@services.) ) {
echo NSREG: Sending FreeNode Credentials
^msg nickserv identify $FREENODE_PASSWORD
}
if ( rmatch($3@$4 services@wyldryde.net) ) {
echo NSREG: Sending WyldRyde Credientials
^msg nickserv identify $WYLDRYDE_PASSWORD
}
}
}
# Catch the notice from NickServ that the nick is registered
on ^notice 'NickServ This nickname is \\[owned registered\\]*' {
^nsreg
}
And finally, since there are many people who refer to me without using my nick (rayners), I put in the following code to catch other words and highlight those messages:
assign AR_WORDLIST david raynes dave rayners
on ^public '% % *\\[$AR_WORDLIST\\]*' {
echo $fparse(PUBLIC_AR "" $0 "" $2-)
}
I will probably add some more words later, but that is working well enough so far.
Leave a comment