View Single Post
Old 02-27-2005, 11:17 AM  
deo
Banned
 
Join Date: Feb 2005
Posts: 46
Default %pwd cookie for dzsBot.tcl

Code:
##dzsBot.tcl

find 'proc readlog {} {'
add to end of 'global location lastoct disable default...' 'var1'
so it looks something like 'global location lastoct disab...sgtypes chanlist IMDB_ALT var1'

find 'proc parse {msgtype msgline section} {'
add to the end of 'global variables announce rando..etc' 'var1'
so it looks something like 'global variables announce random mpa...ary var1'

find 'set output [replacevar $output "%relname" $temp]'
insert below 'set output [replacevar $output "%pwd" [lindex $var1 0]]'

now you have '%pwd' cookie, this will be full vfs path on server with release name
deo is offline   Reply With Quote