View Single Post
Old 10-14-2005, 08:29 AM  
eXtoon
Junior Member
 
Join Date: May 2005
Posts: 6
Default

Quote:
Originally Posted by Quincy
iob_dzsbot.skin in this way:

set announce(NEWDIR) "\[[c]%scolor OLD[b]%section[b][c]\] + New: %path/[b]%release[b] by [b]%user[b]/%group"

set announce(NEWDIR) "\[[c]%scolor STUFF[b]%section[b][c]\] + New: %path/[b]%release[b] by [b]%user[b]/%group"

set announce(NEWDIR) "\[[c]%scolor[b]%section[b][c]\] + New: %path/[b]%release[b] by [b]%user[b]/%group"

i.e. the last NEWDIR is without spaces or dirnames after the %scolor cookie. This way I've diff colors per sections and dont have 2 sections name merged in irc announce.
Needless to say that this requires a huge job designing the script as u need a %scolor command for any dir u have on site and for any command u want to announce (race, halfway, etc.)
Hope Harm can help some more
set announce(NEWDIR) <-- you are setting a variable here.. setting it multiple times will only overwrite the previous one.
eXtoon is offline   Reply With Quote