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.

Send message to channel when an user type something - Tcl

General support and discussion of Eggdrop bots.
Post Reply
w
websol
Voice
Posts: 4
Joined: Mon Mar 23, 2020 3:43 pm

Send message to channel when an user type something - Tcl

Post by websol »

Hello to the community , i want just eggdrop sends a message when user types somethig.For Example

A user types !facebook
Eggdrop sends a text to the channel with all facebook urls for this network.

Question , if eggdrop runs on certain channels message that will sends the eggdrop for !facebook command will appears on all chanels or only to this channel that user typed !facebook?

For my situation i want the eggdrop sends the text to the channel that user types !facebook

Thank you for your help
User avatar
Carlin0
Voice
Posts: 28
Joined: Tue Dec 04, 2018 3:41 pm
Location: Italy

Post by Carlin0 »

w
willyw
Revered One
Posts: 1197
Joined: Thu Jan 15, 2009 12:55 am

Re: Send message to channel when an user type something - Tc

Post by willyw »

websol wrote:Hello to the community , i want just eggdrop sends a message when user types somethig.For Example

A user types !facebook
Eggdrop sends a text to the channel with all facebook urls for this network.
...
Check out a script named holm-news.
You can find it here:
http://tclarchive.org/search.php?str=ho ... =0&sub.y=0

You will need to change the bind line. I think it is using "!news". Just change it to "!facebook", if that is what you'd like.

On command, the script simply reads the contents of a text file, that you create. Put in it whatever you want.

Experiment with it, and see if it will meet your needs.

I hope this helps.
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Post Reply