get data hostmask/ident

Back to Module Development

Page: 1  
From User Message Body
static07
Post #1013
Member
Date: 10:36 pm, Feb 9 2010
Posts: 1


Hello,

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?


thx,
PJ

Mad_Clog
Post #1014
user avatar
Member
Date: 8:23 pm, Feb 11 2010
Posts: 176


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

   

Back to Module Development