collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: about the irc  (Read 1909 times)

0 Members and 1 Guest are viewing this topic.

Offline Shintaja

  • BeBot Rookie
  • *
  • Posts: 11
  • Karma: +0/-0
about the irc
« 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
« Last Edit: November 03, 2006, 07:32:14 pm by Shintaja »

Offline Shintaja

  • BeBot Rookie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: about the irc
« Reply #1 on: November 03, 2006, 09:16:37 pm »
okey i got anather prob how can i make the bot to auth

Offline Shintaja

  • BeBot Rookie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: about the irc
« Reply #2 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);
}

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 478
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal