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.

help

Old posts that have not been replied to for several years.
Locked
g
grinch157
Halfop
Posts: 42
Joined: Tue Nov 11, 2003 4:34 pm

help

Post by grinch157 »

i need help with creating a scipt that when someone types the trigger it lists all available bot triggers with instuctions on how to use them. plz help!
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

refer to tcl-commands.doc (in your eggdrop's doc dir) and check the MSG bind, when you know how to create a bind, use puthelp "NOTICE nick :message" to notice nick a specific line.
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

Look some public commans scipt, and you will see how they are builted....
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

Alternatively, you can also have a look at mycmds.tcl at http://members.fortunecity.com/eggheadtcl/. This script lists all the PUB commands the user has access to.
It does not give instructions on how to use the triggers.
g
grinch157
Halfop
Posts: 42
Joined: Tue Nov 11, 2003 4:34 pm

Post by grinch157 »

how can i find out what the flags are for the diff commands???
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

depends on what you set them in the bind.

example : bind pub flags|flags mask proc

the flags would be the allowed flags to trigger that pub bind (global-flags|channel-flags)
g
grinch157
Halfop
Posts: 42
Joined: Tue Nov 11, 2003 4:34 pm

Post by grinch157 »

okay.

well anyways i pretty much don't have a grasp of this but this is what i have... (please don't laugh, i am so new to this it's pathetic).

Code: Select all

bind msg - help prochelp
prochelp { nick uhost hand chan text } {
puthelp "NOTICE nick :These are my commands"
puthelp "notice nick : ..."
puthelp "notice nick : ..."
puthelp "notice nick: ..."
}
i know is wrong but hey it's a start.. :)

please help!
User avatar
Aron
Halfop
Posts: 86
Joined: Sat Mar 15, 2003 8:35 am

Post by Aron »

That would work, exept for one thing :)

nick should be $nick, otherwise it will send a notice to someone called "nick".

For the rest, that should work fine :)
The best way to start learning is to start helping.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

and any user with or without flags can use the help command.
Locked