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 

Simple trigger script

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


Joined: 17 Aug 2014
Posts: 6

PostPosted: Sun Aug 17, 2014 11:16 pm    Post subject: Simple trigger script Reply with quote

For the life of me i can not seem to find a simple trigger script that would do something simple as if someone hits the bot like /me hits (Botname) or just plain text Hits (botname) that the bot can say something back like.... (botname): Don't Hit me! just anything simple like that also would like to have a !command feature that will allow people to see the different commands that can be used if anyone can make one or point me to one that would be wonderful thank you
Back to top
View user's profile Send private message
Madalin
Master


Joined: 24 Jun 2005
Posts: 310
Location: Constanta, Romania

PostPosted: Mon Aug 18, 2014 6:48 am    Post subject: Reply with quote

For a trigger script you should look at http://forum.egghelp.org/viewtopic.php?t=19313
_________________
https://github.com/MadaliNTCL - To chat with me: https://tawk.to/MadaliNTCL
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Mon Aug 18, 2014 9:10 am    Post subject: Re: Simple trigger script Reply with quote

Nssvtr wrote:
...also would like to have a !command feature that will allow people to see the different commands that can be used if anyone can make one or point me to one that would be wonderful thank you



http://www.egghelp.org/tclhtml/3478-4-0-0-1-holm-news.htm

Upon public command, that script will read a text file to the user. Simply edit the text file as you wish.

I think that the public command - as the script is written - is : !news .
That's easy to change to whatever you want. First, install the script and test it. See if it is to your liking. Then, if changing the command is the only thing that it needs, and if you are unfamiliar with TCL for Eggdrops - find the right section here on the forum, make a post there asking for help, and somebody will help you understand what to change.
Back to top
View user's profile Send private message
Nssvtr
Voice


Joined: 17 Aug 2014
Posts: 6

PostPosted: Mon Aug 18, 2014 11:10 pm    Post subject: ty Reply with quote

Thank you both Very much i got it workin and figured out
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 -> 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