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

Well it will announce new affilalation on main irc channel also remove affilation and even witch sections the new affilation supports. This mod will work only for fundation users cuz of the required scripts!

the following files are needed (can be found @ scripts section):
- ioB 2.0 r1 by Harm
- ioPRECFG.itcl by Harm

open ioBanana.tcl

search for:
set enable(MP3CHK)

add following lines:
###; ioPREDIR
set enable(ioAFFILADD) 1
set enable(ioAFFILDEL) 1


search for:
set defaulttypes

add to set defaulttypes:
ioAFFILADD ioAFFILDEL
into the "..." !!

search for:
set variables(VOTERESULT)

add following lines:
###; ioPREDIR
set variables(ioAFFILADD) "%ioAFFILGRP %ioAFFILTYPES"
set variables(ioAFFILDEL) "%ioAFFILGRP"
_____________________________________
open ioB2.skin

search for:
set announce(VOTERESULT)

add following lines:
PHP Code:
###; ioPREDIR
set announce(ioAFFILADD"\[[c]3[b]AFFiL[b][c]\] [b]%ioAFFILGRP[b] has just join'd [b]%sitename[b].\n\[[c]3[b]AFFiL[b][c]\] supported areas: [b]%ioAFFILTYPES[b]"
set announce(ioAFFILDEL"\[[c]4[b]AFFiL[b][c]\] [b]%ioAFFILGRP[b] has just dropp'd [b]%sitename[b]." 
_____________________________________
open ioPRECFG.itcl

search for:
putsyslog "'[resolve uid $uid]' added group '$grp(name)' as affil for '[join $grp(types)]'"

add following line:
putlog "ioAFFILADD: \"$grp(name)\" \"$grp(types)\""



search for:
putsyslog "'[resolve uid $uid]' removed group '$grp(name)' from affils list"

add following line:
putlog "ioAFFILDEL: \"$grp(name)\""
_____________________________________


thats all hf
iXi is offline   Reply With Quote