This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

how do i catch what bot's is saying in the channel ?

Old posts that have not been replied to for several years.
Locked
t
tcl-idiot

Post by tcl-idiot »

pubm bind doesnt seem to take triggered by bots messages on the channel, only other messages -- am i missing something with pubm bind ? or should i use a different bind for such ? i needed to get whats the bot is saying inside the channel.

thx in advance

<font size=-1>[ This Message was edited by: tcl-idiot on 2002-05-24 21:04 ]</font>
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

you cant. the binds trigger on what the server sends the bot. server does not send the bots own messages back to it. you'll have to rewrite every proc that sends text to the server to log it at the same time.
User avatar
Souperman
Halfop
Posts: 69
Joined: Sat Feb 02, 2002 8:00 pm
Location: Cape Town, South Africa
Contact:

Post by Souperman »

Incedentally, I don't know of any IRC client whose scripting routines allow you to trigger on own text.
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

well, there are ways around it. the most obvious one is a rewrite of putserv/puthelp/putquick to filter through a custom procedure before sending to the server. Won't make for very efficient scripts though,
J
Jimbo

Post by Jimbo »

Why do u want to trigger something on the bots own text?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Jimbo.

Many people like to capture in a log, what the bot says (mainly with AI scripts), so they can posts stats on the bot, and other items.
User avatar
z_one
Master
Posts: 269
Joined: Mon Jan 14, 2002 8:00 pm
Location: Canada

Post by z_one »

Souperman, I am not sure if you mean any text sent by the user.
It could be a line sent by programming (scripting), not manually typed by the user.
In case you are referring to the later (manual typing) then mIRC (as an irc client) does allow you to trigger on own text.
If it's the former you're talking about (lines sent by user as a result of a code getting executed) then I agree with you, I have never seen any irc client that allows triggering on own text either.

The following example is taken as is from mIRC help files:
The on INPUT event triggers when you enter text in an editbox and press enter.

Format: on <level>:INPUT:<*#?=!@>:<commands>

Example:
on 1:INPUT:#mIRC:/echo You entered the text " $1- " in the #mIRC window
<font size=-1>[ This Message was edited by: z_one on 2002-05-27 07:29 ]</font>
Locked