View Single Post
Old 02-01-2006, 08:36 AM  
iXi
Senior Member
 
Join Date: Nov 2002
Posts: 220
Default [mod] ioB 2.0 r1 ioSymcheck.itcl announce

I made that mod because of i'm using ioB 2.0 release 1 by using the mp3 sport with autospacemaker there still allot of death symbolic linkes @ sorted dirs.. (deathlinks) to remove them i used ioSYMCHECK.itcl witch comes with ioFTPD.log support so i dediced to get it working for ioB 2.0 r1.

the following files are needed (can be found @ scripts section):
- ioB 2.0 r1
- ioSYMCHECK

open ioBanana.tcl

search for:
set enable(MP3CHK)

add following lines:
###; Symcheck
set enable(ioSYMCHECK) 1


search for:
set defaulttypes "LOGIN LOGOUT INVITE GIVE TAKE REQUEST REQFILLED REQDEL APPROVE CLOSE OPEN VOTE VOTETOPIC VOTERESULT"

replace with:
set defaulttypes "LOGIN LOGOUT INVITE GIVE TAKE REQUEST REQFILLED REQDEL APPROVE CLOSE OPEN VOTE VOTETOPIC VOTERESULT ioSYMCHECK"


search for:
set variables(VOTERESULT)

add following lines:
###; ioSYMCHECK
set variables(ioSYMCHECK) "%symcheck"
_____________________________________
open ioB2.skin

search for:
set announce(VOTERESULT)

add following lines:
###; ioSYMCHECK
[B]set announce(ioSYMCHECK) "\[[b]SYMCHECK\] %symcheck"
_____________________________________
open ioSYMCHECK.itcl

search for:
putlog "ioSYMCHECK: Started Running"

replace with:
putlog "ioSYMCHECK: \"Started Running\""



search for:
putlog "ioSYMCHECK: Completed (Checked [llength $templist] Directories, Found $alive Alive Symlinks & $dead Dead Symlinks)"

replace with:
putlog "ioSYMCHECK: \"Completed (Checked [llength $templist] Directories, Found $alive Alive Symlinks & $dead Dead Symlinks)\""
_____________________________________


thats all hf
iXi is offline   Reply With Quote