EnergyMech

Forum | Features | Download | Addons | Help | #emech | Links | About | Contact

Versions | News Archive | Installing | Linking | Configuration | Commands | FAQ


The time is now Thursday, April 7th, 2022, 12:24pm

Create account ]   User/Pass   


Forum Index :: Generic Discussion :: help getting started on tcl scripting..ie this doesnt do anything =) :: Reply to this topic

Author
 
fabel
Posted :: 8:28pm, Wed, Sep 14, 2005     Subject :: help getting started on tcl scripting..ie this doesnt do anything =)

(anonymous)
 
    Hey All,

Was just setting up a new energymech, the last ones i ran were 2.8 i believe.
I complied in tcl support fine and at the beginning of startup on debug, it is
loading my script and all the init_tcl calls have SUCCESS after them but nothing
seems to trigger it. Here is the whole script file it really doesnt do much and
never will if i dont get something basic running.

proc grab_checkURL{from rest}{
global currentnick

to_server "PRIVMSG $currentnick :YAY WHOOP!\n" 50
return 0;
}

hook parse PRIVMSG grab_checkURL


 
proton
Posted :: 10:02pm, Wed, Sep 14, 2005


Posts: 165
 
    look at sample.tcl


 

Copyright © 2000-2005 Proton,  All rights reserved. Last edited August 16th, 2005.
HTML 4.01 CSS