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 

type a command and the bot respond

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


Joined: 13 Mar 2009
Posts: 24

PostPosted: Fri Mar 13, 2009 3:30 pm    Post subject: type a command and the bot respond Reply with quote

Hello there.

I'm new in eggdrops.

I want to create some commands.

For exemple, i type "!egghelp" and the bot wil reply "Website about discussion of eggdrop bots, shell accounts and tcl scripts."

How can i create a script so?
Back to top
View user's profile Send private message
Fill
Halfop


Joined: 18 Jan 2009
Posts: 80

PostPosted: Fri Mar 13, 2009 4:18 pm    Post subject: Reply with quote

Here it is:

Code:

bind pubm - "#ChanName !egghelp" egghelp

proc egghelp { nick uhost hand chan text } {
puthelp "PRIVMSG $chan :Website about discussion of eggdrop bots, shell accounts and tcl scripts."
}


Pretty simple Wink

Here are some new TCL guides to beginners:
http://wiki.tcl.tk/
http://johoho.eggheads.org/eggdrop/other/guide2tcl.html

See ya
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 -> Scripting 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