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: latest snv org bot  (Read 3668 times)

0 Members and 1 Guest are viewing this topic.

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
latest snv org bot
« on: April 19, 2007, 06:03:45 am »
What would I have to use to insert something into org chat with out the bot processing it? I have tried several things but I havent found the correct one yet..

maybe I am just to tired to see it..

I have tried

$this -> bot -> aoc -> send_group
$this -> bot -> queue -> into_queue

thinking about the following.. but I am unsure about it.. and not sure exactly how to change it.. I dont want to spam FC with anything.

      $this->send_packet(new AOChatPacket("out", AOCP_GROUP_MESSAGE,
      array($gid, $msg, $blob)));

that was just a cut and paste out of aochat.php.. just shooting an idea.. anyhelp would be helpful.. the problem is I can not have the bot process the output at all to org chat or it goes into another part of the script and causes a loop.

Metanyt

Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline kuznechik

  • Contributor
  • *******
  • Posts: 60
  • Karma: +0/-0
Re: latest snv org bot
« Reply #1 on: April 19, 2007, 09:43:34 am »
Well, bot used to have protection against such loops. So it doesn't process on input his own strings or strings of "otherbots".
Kuznechik, proud bot admin of Disciples of Omni-Tek, Rimor.

 

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