View Single Post
Old 11-11-2003, 06:38 PM  
Zer0Racer
Senior Member
 
Join Date: Oct 2002
Posts: 703
Default Howto make WarChive announces work with ioBanana bot in 4 simple steps

As you might know (B0unTy didn't hehe) WarChive announces work with dZSbot if you follow the intructions in warchive.cfg. Someone asked me if WarChive announces could work with ioBanana too. I helped him out a little and here is the solution for you other peeps. It's pretty easy and I guess some ppl already did this. But here goes... First open your warchive.cfg, ioBanana.tcl and the skin file you use with ioBanana ie. ioB_default.skin.

1. Add WARCWIPE WARCMOVE to the set msgtypes(RACE) line in ioBanana.tcl.

set msgtypes(RACE) "NEWDIR DELDIR WARN UPDATE NUKE UNNUKE REQUEST REQFILLED INVITE WIPE PRE NEWDATE IMDB BAN SERVICEFULL LIMITER MP3 OLDRLS APPROVED PRETIME SAMPLE COMPLETE-B COMPLETE-B1 USTATS-B GSTATS-B STATS HALFWAY HALFWAY1 RACE SFV 1STFILE CASINO CLOSE URL SLOWRACE SLOWRACEEND NFO NEWLEADER WARCWIPE WARCMOVE"


2. Add the set disable lines below the other set variables lines in ioBanana.tcl.

...
set disable(NEWLEADER) 0

set disable(WARCMOVE) 0
set disable(WARCWIPE) 0



3. Add the set variables lines below the other set variables lines in ioBanana.tcl.

...
set variables(NEWLEADER) "%pwd %release %username %group %mb %files %percent %speed"
set variables(WARCMOVE) "%release %relsize %oldvfs %newvfs %beforesize %aftersize"
set variables(WARCWIPE) "%release %relsize %oldvfs %beforesize %aftersize"



4. Add the set announce lines below the other set announce lines in your ioB_default.skin file (or what other skin you use). If you use sitename variable change %sitename to $ioss(sitename).

...
set announce(NEWLEADER) "-:: new race leader ::- %username@%group takes the lead on %pwd/%release with %files files \[%mbMB/%percent%/%speedkBps\]"

set announce(WARCMOVE) "-:: $ioss(sitename) ::- \[WarChive\] + Moved %oldvfs/%release (%relsizeMB) to %newvfs. Available space now: %aftersizeMB"
set announce(WARCWIPE) "-:: $ioss(sitename) ::- \[WarChive\] + Wiped %oldvfs/%release (%relsizeMB). Available space now: %aftersizeMB"


The set chanlist thingy is not needed since ioBanana already knows where to announce stuff.

All done!
Zer0Racer is offline   Reply With Quote