| View previous topic :: View next topic |
| Author |
Message |
websol Voice
Joined: 23 Mar 2020 Posts: 4
|
Posted: Sun Apr 12, 2020 1:18 am Post subject: Send message to channel when an user type something - Tcl |
|
|
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 |
|
| Back to top |
|
 |
Carlin0 Voice

Joined: 04 Dec 2018 Posts: 24 Location: Italy
|
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Sun Apr 12, 2020 8:51 am Post subject: Re: Send message to channel when an user type something - Tc |
|
|
| 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=holm-news&cb1=t&cb2=a&cb3=d&sub.x=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 ! |
|
| Back to top |
|
 |
|