Thread: ioNiNJA ALPHA
View Single Post
Old 05-23-2008, 08:28 AM  
Atmos
Junior Member
 
Join Date: May 2008
Posts: 12
Default

In pretime.tcl:

REPLACE:

Code:
 ## Load the MySQLTcl library.
    if {[catch {package require Mysqltcl} errorMsg]} {
        putlog "\[ngBot\] PreTime :: $errorMsg"
        return
    }
WITH:

Code:
## Load the MySQLTcl library.
    if {[catch {package ifneeded mysqltcl 3.03} errorMsg]} {
        putlog "\[ngBot\] PreTime :: $errorMsg"
        return
    }
I cant use the original pretime.tcl becuase i get strange errors so i removed the debug stuff and now it works. (still get errors, but it works)

Also, i added to dszbot.vars the vars you can find in pretime.tcl

Code:
set variables(NEWPRETIME) "%pf %u_name %g_name %u_tagline %preage %predate %pretime"
set variables(OLDPRETIME) "%pf %u_name %g_name %u_tagline %preage %predate %pretime"
Paste them into dzsbot.vars
Code:
set variables(NEWPRETIME)                   "%pf %u_name %g_name %u_tagline %preage %predate %pretime"
set variables(OLDPRETIME)                   "%pf %u_name %g_name %u_tagline %preage %predate %pretime"

I added also announce.NEWPRETIME and announce.OLDPRETIME to the ioninja.zst with the apropiate cookies.

iMPORTANT ONES
Code:
%preage %predate %pretime
You could also edit the theme file in the plugins dir but i just commented that out.

Hope this helps a bit!!
Atmos is offline   Reply With Quote