on *:TEXT:$(%shoutcast.trigger $+ offair):%shoutcast.channel:{
if ( %shoutcast.currentdj == $nick ) {
set %shoutcast.currentdj None
set %shoutcast.currenttopic %shoutcast.channeltopic
set %shoutcast.currenttopic $replace(%shoutcast.currenttopic,<StationName>,%shoutcast.colour1 %shoutcast.name)
set %shoutcast.currenttopic $replace(%shoutcast.currenttopic,<CurrentDJ>,%shoutcast.colour2 %shoutcast.currentdj)
set %shoutcast.currenttopic $replace(%shoutcast.currenttopic,<Server>,%shoutcast.colour2 http:// $+ %shoutcast.server $+ : $+ %shoutcast.port $+ /listen.pls)
set %shoutcast.currenttopic $replace(%shoutcast.currenttopic,<News>,%shoutcast.colour2 %shoutcast.news)
set %shoutcast.currenttopic $replace(%shoutcast.currenttopic,<Website>,%shoutcast.colour2 %shoutcast.website)
set %shoutcast.currenttopic $replace(%shoutcast.currenttopic,<air>,%shoutcast.colour2 4Offair0)
topic %shoutcast.channel %shoutcast.currenttopic
}
else if ( $address == amos-sik@kG`AmoS.plays-countar-skript.gamesurge ) {
set %shoutcast.currentdj None
set %shoutcast.currenttopic %shoutcast.channeltopic
set %shoutcast.currenttopic $replace(%shoutcast.currenttopic,<StationName>,%shoutcast.colour1 %shoutcast.name)
set %shoutcast.currenttopic $replace(%shoutcast.currenttopic,<CurrentDJ>,%shoutcast.colour2 %shoutcast.currentdj)
set %shoutcast.currenttopic $replace(%shoutcast.currenttopic,<Server>,%shoutcast.colour2 http:// $+ %shoutcast.server $+ : $+ %shoutcast.port $+ /listen.pls)
set %shoutcast.currenttopic $replace(%shoutcast.currenttopic,<News>,%shoutcast.colour2 %shoutcast.news)
set %shoutcast.currenttopic $replace(%shoutcast.currenttopic,<Website>,%shoutcast.colour2 %shoutcast.website)
set %shoutcast.currenttopic $replace(%shoutcast.currenttopic,<air>,%shoutcast.colour2 4Offair0)
topic %shoutcast.channel %shoutcast.currenttopic
}
else { .notice $nick Error: You are not logged in as the current dj. }
}