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.

report what they tell the bot

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
h
hugoayala
Voice
Posts: 1
Joined: Mon Jan 17, 2011 12:53 am

report what they tell the bot

Post by hugoayala »

hello to all the geniuses of egghelp I'm from Latin America, I wonder if it is possible the eggdrop repeat what you say in private in one chan ejm:

in private eggdrop:
<guest> Hi text text
in chan #opers
<eggdrop> guest tells me privately:Hi text text hours: 13:50 Day: Monday


first of all thank you very much, waiting for your prompt replies, I bid you farewell.
Hugo ayala.
User avatar
username
Op
Posts: 196
Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:

Post by username »

Use Tcl Archive.
Forward - Forwards private messages to the bot to a specified channel.

And change

Code: Select all

puthelp "PRIVMSG $chan :$nick on private: '$line'"
to

Code: Select all

puthelp "PRIVMSG $chan :\002$nick\002 tells me privately: '$line' at [clock format [unixtime] -format "%A, %H:%M"]."
I dont understand why do you want to show time and weekday, because this script work in realtime, so if someone msg your bot at 09:00 and bot will report to channel immediately after this.
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
c
cyberjack
Voice
Posts: 1
Joined: Fri Jan 21, 2011 2:29 pm

Post by cyberjack »

Thanks username for your answer.
Well, actually I've been using this forward script for quite long.
But how would the bot reply to the owner? instead of to the specified channel. Anyone can help? Thank you :)
N
Nimos
Halfop
Posts: 80
Joined: Sun Apr 20, 2008 9:58 am

Post by Nimos »

just replace the channel in the line

Code: Select all

set chan "#..."
with your nickname/the owners nickname
User avatar
username
Op
Posts: 196
Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:

Post by username »

Or

Code: Select all

set chan $::owner
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
Post Reply