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.

trigger command on start

Old posts that have not been replied to for several years.
Locked
s
sparta
Voice
Posts: 15
Joined: Sun Feb 27, 2005 10:02 am

trigger command on start

Post by sparta »

How do i make a tcl trigger a command on start ? i have a proc, and i want the bot to trigger that proc when it start, same thing when i do .restart or .rehash, and i have no idea on how it should look like. been searching here too, but couldent find it..
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

bind EVNT should do the job, maybe something like this

Code: Select all

bind evnt -|- userfile-loaded your:proc
Have a look at tcl-commands.doc for more details.
s
sparta
Voice
Posts: 15
Joined: Sun Feb 27, 2005 10:02 am

Post by sparta »

thnx :)
Locked