I'm trying to write my own admin checking function. I'm having issues writing my own custom admin function (nickserv on my network is a bit messed up where it sometimes doesn't put if someone is identified in whois) and I can't use the pairs() function, and I can only use log() via self:log(). I even tried modifying the IRC library a bit to get this to work to no avail. Is there a way I can add my own functions to the environments of everything?
I'm trying to write my own admin checking function. I'm having issues writing my own custom admin function (nickserv on my network is a bit messed up where it sometimes doesn't put if someone is identified in whois) and I can't use the pairs() function, and I can only use log() via self:log(). I even tried modifying the IRC library a bit to get this to work to no avail. Is there a way I can add my own functions to the environments of everything?