get data hostmask/ident
|From User||Message Body|
Date: 10:36 pm, Feb 9 2010
I'm developing a bot for a online radio station. And I want to achieve the following:
if someone types !dj it should send to channel the nickname of the dj. Now this should be simple as the DJ always has the same hotmask. So here's my question.
How do I get userdata on a hotmask?
Date: 8:23 pm, Feb 11 2010
|It's been a long while since i used anything like this...
But i think what you're looking for is $this->ircClass->getChannelData($channel)
You'll need to debug the return value yourself though, as i can't remember what it returns