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 

Send message to channel when an user type something - Tcl

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
websol
Voice


Joined: 23 Mar 2020
Posts: 4

PostPosted: Sun Apr 12, 2020 1:18 am    Post subject: Send message to channel when an user type something - Tcl Reply with quote

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
View user's profile Send private message
pachisapiu
Voice


Joined: 04 Dec 2018
Posts: 7
Location: Mars

PostPosted: Sun Apr 12, 2020 8:51 am    Post subject: Reply with quote

https://tclarchive.org/download.php?id=940
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1095

PostPosted: Sun Apr 12, 2020 8:51 am    Post subject: Re: Send message to channel when an user type something - Tc Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help 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