Ok, first i wanted to note that i am still in a learning process of writing modules ^^
Lots of people especially my home channel operators on my network are using psyBNC and since it is the home channel, i really need this module. So, i'm trying to code a module which can DEOP a user when he/she change a nick and set his/her nick away. I've tried this mod for 2 weeks and i got no success yet
I tried with both 'EVENT_CHANGE_NICK' and createEventHandler("NICK", my_nick); ... but i cant get them working ... what exactly i try to do is ... when a user change his nick, i wanted the mod to check whether his/her newnick is on the access list and if his/her new nick is not on the access list, ChanServ deops/dehalfops the user. And also this will works only if the channel has 'securedops' set. also, the module will works only on the home channel.
So, i will be very glad if someone could write a module for this or give me some hints/suggestions.
Thanks