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: send_gc in raid mode  (Read 1595 times)

0 Members and 1 Guest are viewing this topic.

Offline neongen

  • BeBot User
  • **
  • Posts: 64
  • Karma: +0/-0
send_gc in raid mode
« on: November 15, 2006, 01:00:44 am »
oki have a little question how can i get my bot to send a send_gc when it runs in raid mode??? or send_tell to another bot with out the front color?

hope someone can help me  :)

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: send_gc in raid mode
« Reply #1 on: November 15, 2006, 03:22:37 am »
The answer to sending a tell without color is in Bot.php
Code: [Select]
    /*
    send a tell. Set $low to 1 on tells that are likely to cause spam.
    */
    function send_tell($to, $msg, $low=0, $color=true)

Example:
Code: [Select]
$this -> bot -> send_tell($name, $msg, 0, FALSE);
To send to guild chat, change send_pgroup to send_gc, or to send to both just add a send_gc with the same syntax as send_pgroup.

You may also want to add commands to the raid module to take input from the guild channel.

Offline neongen

  • BeBot User
  • **
  • Posts: 64
  • Karma: +0/-0
Re: send_gc in raid mode
« Reply #2 on: November 15, 2006, 07:10:11 am »
thx for the help glara

 

* 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: 672
  • 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