BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.2 support => Topic started by: Shintaja on November 03, 2006, 06:34:37 pm

Title: about the irc
Post by: Shintaja on November 03, 2006, 06:34:37 pm
is there a possible way for the bot to say as in when i type /v someone it gives voice. But i need when some one comes online it types that and gives voice, i already tried at the part when some one comes online with this

Code: [Select]
$this -> irc -> message(SMARTIRC_TYPE_CHANNEL, $this -> chan, "/v ". $data -> nick);
but it just comes out like this (Pnbot) /v Shintaja

EDIT: nvm i got it working
Title: Re: about the irc
Post by: Shintaja on November 03, 2006, 09:16:37 pm
okey i got anather prob how can i make the bot to auth
Title: Re: about the irc
Post by: Shintaja on November 06, 2006, 07:49:31 pm
finally i got it to auth if some one needs
add this line to the connect part at IRC.php
Code: [Select]
$this -> irc -> auth($priority = SMARTIRC_MEDIUM);and this some where in irccommands.php
Code: [Select]
function auth($priority = SMARTIRC_MEDIUM)
{
          $this->_send('PRIVMSG '.'[email protected]'.' :'.'AUTH user password', $priority);
}
SimplePortal 2.3.7 © 2008-2025, SimplePortal