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
-
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
$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
-
okey i got anather prob how can i make the bot to auth
-
finally i got it to auth if some one needs
add this line to the connect part at IRC.php
$this -> irc -> auth($priority = SMARTIRC_MEDIUM);
and this some where in irccommands.php
function auth($priority = SMARTIRC_MEDIUM)
{
$this->_send('PRIVMSG '.'[email protected]'.' :'.'AUTH user password', $priority);
}