egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

report what they tell the bot

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
hugoayala
Voice


Joined: 17 Jan 2011
Posts: 1

PostPosted: Mon Jan 17, 2011 12:59 am    Post subject: report what they tell the bot Reply with quote

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.
Back to top
View user's profile Send private message
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Mon Jan 17, 2011 2:21 am    Post subject: Reply with quote

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

And change
Code:
puthelp "PRIVMSG $chan :$nick on private: '$line'"
to
Code:
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/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cyberjack
Voice


Joined: 21 Jan 2011
Posts: 1

PostPosted: Fri Jan 21, 2011 2:35 pm    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
Nimos
Halfop


Joined: 20 Apr 2008
Posts: 80

PostPosted: Sat Jan 22, 2011 10:26 am    Post subject: Reply with quote

just replace the channel in the line
Code:
set chan "#..."
with your nickname/the owners nickname
Back to top
View user's profile Send private message
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Sun Jan 23, 2011 2:33 am    Post subject: Reply with quote

Or
Code:
set chan $::owner

_________________
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber