I'm having a very basic problem with Net::IRC and that is determining what channel a /msg came from when the script sees it.
The goal of the script is to run a the only operator in a channel and provide some basic commands to users that have logged into it, on a private IRC server. Basically, for security no one can log as a privlaged user (all ports are set to i instead of I). Those that validate with the bot gain access to /kick /help and /times which posts the current local time.
However to make it work, they have to msg the bot (/msg botname kick username) ... but I haven't found an easy way to know which channel the /msg has come from.
is the bots name in this case ... is there a way to grab the channel as well?