Linking Bots together? (BotNet)
| Page: 2 |
| From User | Message Body |
|---|---|
| Cleric |
Post #387 |
|
Member Date: 9:25 pm, Nov 16 2006 Posts: 11 |
How to tell if ChanServ is on a channel or if a channel is registered with ChanServ? How to tell if another Bot/User is on a channel? |
| Manick |
Post #388 - Reply to (#387) by Cleric |
|
Admin Date: 11:34 pm, Nov 16 2006 Posts: 223 |
Well what you ask is kind of general. To see if another user/bot is on the channel it depends on what you're looking for. If you're looking for a bot/user based on nick then it's really easy, you can just use the isOnline() function (see command_reference.txt). To see if a channel is registered, it should have the +r mode? I think there's some way to get channel data from the ircClass and check the modes, you'll have to see command_reference.txt. If you need some more specific help let me know. --Manick PHP-IRC Developer |
| Cleric |
Post #389 |
|
Member Date: 6:52 am, Nov 19 2006 Posts: 11 |
I'm having problems grabbing a remote users Hostmask... one that isn't using the bot but is in the channel.. I tried the GetUserdata() but couldn't figure it out :\... Tried righting a module for it but the bot isn't Multi-Threaded so it waits for something else to be done before it gets to the whois... So hmm? |
| Manick |
Post #390 - Reply to (#389) by Cleric |
|
Admin Date: 5:20 pm, Nov 19 2006 Posts: 223 |
Well, there are multiple ways to get a host... If you are writing a module and the other person uses a trigger on your bot or pm's you or something you can just get the host from $line['fromHost']. If you want to get a host, I recommend using a timer (for the exact reason that the bot is not multi-threaded).. --Manick PHP-IRC Developer |
| Previous Page | Pages (2) [ 1 2 ] |
