My server has just update its mIRC. ChanServ now has access list and the like. I would like to get the info to make a script or a script that could to the following:
1) retreave access list and all its info
2) beable to tell if a nick is regestered
3) menipulate the access list
I am sure this can be done but as of yet i have been unable to fine any info on it. I could use any help i can get.
Chanserv access lists can be saved into text files for later use -- string match and regexp can be used to match.
If a nick is in a chanserv access list, it is already registered so there is no need to check for it. However the reply for /nickserv info <nick> can tell if a nick is registered or not.
The bot can manipulate access lists, via pubcmds or privmsgs triggers if you give it the correct access as well.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================
well i do not seem to be smart enough to figure out the script to have my get the access list and put it into a text file. Could anyone give me a hand on how to write this script.
/whois ChanServ
/cs sop #chan list
/cs aop #chan list
The first one will give you Chanserv's "address": ChanServ!user@server.host
** IF you READ that example script I posted you'll see what the address of ChanServ on DALnet is and the "info" returned. Should you give you some idea.
Thanks for the help. But i can see that you do not seem to know what access list i am talking about. I am not talking about Aop and Sop lists. I am talking about the access list that is on the updated IRC servers that use access levels to control everything on a channel. This access list is use insted of Sop and Aop and offers for more control. If anyone knows how to get this list and how to work with it I sure would like to know.
well I know how to get the list you are talking about, but I won't write the script you need (mostly because I don't know your exact ChanServ output)
but generally, you'd bind to NOTICE, issue the ChanServ command, and then parse the output coming from ChanServ (with the only problem being most ChanServs I know won't indicate the end of the output, so you'll probably have to terminate parsing on timer)
Well it helps that someone seems to know what i am talking about. As for exact ChanServ output, i am not totally sure what you are talking about. But thanks for the info. i will keep trying. If i crash my bot enough maybe i will figure it out.
Are you talking about ChanServ OR NickServ (I just re-read your original post)?
NickServ returns information regarding whether a nick is registered (or not) via the /ns acc <nick> command. A level of 3 indicates an identified nick and level 1 unidentified. As for manipulating the access list of another user, cannot be done unless an IRCOp (I think).
Add [SOLVED] to the thread title if your issue has been. Search | FAQ | RTM