menu menubar {
-
SongSystem
.Start Song addon System[2] %schan1 :/dialog -m song-sys2 song-sys2
.Stop Song Timer
..Stop Song Timer[2] %schan1 :timerSong2 off | unset %schan1
..Stop All Song Timer:timerSong1 off | timerSong2 off | timerSong3 off | unset %schan0 | unset %schan1 | unset %schan2
-
}
.Edit Song.txt:/run song.txt
dialog song-sys2 {
title "¤ Rashed Advertizing Box ¤"
size -1 -1 130 60
option dbu
box "Time (Seconds)", 3, 2 28 50 26
edit "300", 4, 7 39 40 10
button "Set", 5, 64 38 24 9
button "UnSet", 6, 93 38 24 9
box "Control", 7, 56 28 69 26
button "OK", 8, 15 5 100 20, ok
}
on *:dialog:song-sys2:sclick:5:{ set %schan1 $active | set %song0 $ | set %song1 read | set %song2 song.txt | timerSong2 0 $did( $dname , 4 ).text /msg $chan %song0 $+ %song1 %song2 | /msg $chan $read song.txt | }
on *:dialog:song-sys2:sclick:6:{ timerSong2 off | unset %schan1 }
}
on *:TEXT:~song http*//*.*/*.ram:#:/splay sounds\tab.wav | /write song.txt $2 (8) added By $nick | /amsg [(8)] $nick Your Song Has Been Added, thanx [(8)]
on *:TEXT:~song http*//*.*/*.ra:#:/splay sounds\tab.wav | /write song.txt $2 (8) added By $nick | /amsg [(8)] $nick Your Song Has Been Added, thanx [(8)]
on *:TEXT:~song http*//*.*/*.rm:#:/splay sounds\tab.wav | /write song.txt $2 (8) added By $nick | /amsg [(8)] $nick Your Song Has Been Added, thanx [(8)]
on *:TEXT:~song http*//*.*/*.smil:#:/splay sounds\tab.wav | /write song.txt $2 (8) added By $nick | /amsg [(8)] $nick Your Song Has Been Added, thanx [(8)]
}
.Edit Song.txt:/run song.txt
RashedHammad
Member #27,621