on *:text:*DJ*Is Currently Playing*:#myroom: {
inc %x
var %left = $right($1-,19)
var %right = $left(%left,3)
var %final.count = $right(%right,2)
set [ %listeners. $+ [ %x $+ ] $+ ] $+ $chr(32) $+ $time $date %final.count $3
echo $chan o Listeners: %final.count
}
;DJ: RadioBot (Rated: L) Is currently Playing: Tool - The Grudge on SuprNova.Radio (29/901 Listeners)»
What im trying to do is Pull info from that string to a variable like this
%listeners.31 23:08:24 05/04/2004 21 RadioBot Tool - The Grudge
Where 21 is the listener count and RadioBot is the actual dj and after that is the song, Ive gotten this to the point of Listner count and dj but i cant pull out the song
Update:
on *:text:*DJ*Is Currently Playing*:#admin: {
var %song.title1 = $left($11-,500)
var %song.title2 = $remove(%song.title1,on suprnova.radio)
echo #admin %song.title1
echo #admin %song.title2
}
gets me close but cant seem to loose (26/901 Listeners)» those number can change so i cnat just eliminate them
Last edited by Armada; 06/04/04 05:44 AM.