Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3747548
D1243.id3195.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
540 B
Referenced Files
None
Subscribers
None
D1243.id3195.diff
View Options
diff --git a/TC2/Time.tcl b/TC2/Time.tcl
--- a/TC2/Time.tcl
+++ b/TC2/Time.tcl
@@ -1,13 +1,17 @@
-#utimer 90 onload
+utimer 5 onload
bind cron - "* * * * *" cron:minute
bind cron - "*/5 * * * *" cron:often
bind cron - "0 * * * *" cron:hourly
bind cron - "0 4 * * *" cron:daily
proc onload {} {
+ sqlconnect sql7
+}
+
+proc launch {} {
#This proc, called on startup, causes the eggdrop
#to die on "unloadmodule server"
- #.tcl onload manually will work
+ #.tcl launch manually will work
#Drops IRC support
unloadmodule irc
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 02:37 (19 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2248565
Default Alt Text
D1243.id3195.diff (540 B)
Attached To
Mode
D1243: Connect TC2 to MySQL database at startup
Attached
Detach File
Event Timeline
Log In to Comment