View Full Version : [Fixed] %tagline cookie
darko
12-13-2004, 11:31 PM
oi. is there such a thing as %tagline for themes? i know it displays imdb tagline now but i want users tagline to be shown. if this isnt possible with that cookie, is there an other fix?
thnx
putlog.itcl :
if { [string last "/" [lindex $args 2]] != [expr [string length [lindex $args 2]] - 1] } {
putlog "BLA: \"$user\" \"$group\" $args"
}
ioFTPD.ini :
OnNewDir = %TCL ..\scripts\newdir\putlog.itcl "%[$unfo]"
dZSbot.tcl :
set msgtypes(RACE) "IMDB ALLOCINE NFOURL NFO NEWDATE WIPE NEWDIR BLA DELDIR ...
set disable(NEWDIR) 1
set disable(BLA) 0
set variables(NEWDIR) "%pf %user %group"
set variables(BLA) "%pf %user %group %tagline"
set announce(NEWDIR) "\[%bold%section%bold\] %color07%boldnew%bold%color %bold%path/%release%bold by %bold%user%bold"
set announce(BLA) "\[%bold%section%bold\] %color07%boldnew%bold%color %bold%path/%release%bold by %bold%user%bold (%uline%tagline%uline)"
proc readlog {}
replace
if { ! [info exists disable($msgtype)] } {continue}
if { $msgtype == "NEWDIR" || $msgtype == "DELDIR" } {
set path [lindex $line 5]
if { $msgtype == "DELDIR" } { set path [string trimright $path "/"] }
set var1 "{$path} [lrange $line 3 4]"
-->>>
if { ! [info exists disable($msgtype)] } {continue}
if { $msgtype == "BLA" } {
set path [lindex $line 7]
set var1 "{$path} [lrange $line 3 5]"
} elseif { $msgtype == "NEWDIR" || $msgtype == "DELDIR" } {
set path [lindex $line 5]
if { $msgtype == "DELDIR" } { set path [string trimright $path "/"] }
set var1 "{$path} [lrange $line 3 4]"
its for dzsbot
for banana u will figure it out if not the same
nice, it's work fine
but this function not working after:
## RANDOMIZING OUTPUT
#
# Example:
# set random(NEWDIR-0) "-%sitename- \[%section\] + %user@%group creates a directory called %release"
# set random(NEWDIR-1) "-%sitename- \[%section\] + %user@%group makes a directory called %release"
# set random(NEWDIR-2) "-%sitename- \[%section\] + %user@%group does mkdir %release"
# TYPE --------^ ^
# ID --------^
#
# set announce(NEWDIR) "random 3"
# TYPE ---------^ ^ ^
# RANDOM ----------^ ^
# # OF IDS ---------^
with this NEWDIR anounce is disabled
with this u use BLA instead of NEWDIR because NEWDIR doesnt have %tagline cookie
so u have to make random(BLA-0) ... i gues
ioUSER
05-20-2006, 05:19 PM
he should have written if its working now or not... but its working for sure :P
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.