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

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

Author Topic: send_gc in raid mode  (Read 2149 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
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


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


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

* Who's Online
  • Dot Guests: 92
  • 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