PDA

View Full Version : Music Script


awiedman
11-26-2008, 10:38 PM
;Allow you to order songs in number and play them by saying the songs number


ON ENTER { "To list all music say `music list" LOCALMSG
"To learn how to play a song say 'help'" LOCALMSG }
ON OUTCHAT {
{ "" CHATSTR =
"SONG1.mp3" SOUND
} CHATSTR "1" == IF
{ "" CHATSTR =
"SONG2.mp3" SOUND
} CHATSTR "2" == IF
{ "" CHATSTR =
"SONG3.mp3" SOUND
} CHATSTR "3" == IF
{ "" CHATSTR =
"SONG4.mp3" SOUND
} CHATSTR "4" == IF
{ "" CHATSTR =
"SONG5.mp3" SOUND
} CHATSTR "5" == IF
{ "" CHATSTR =
"SONG6.mp3" SOUND
} CHATSTR "6" == IF
{ "" CHATSTR =
"Please, check your log..." LOCALMSG
"1- SONG1.mp3" LOGMSG
"2- SONG2.mp3" LOGMSG
"3- SONG3.mp3" LOGMSG
"4- SONG4.mp3" LOGMSG
"5- SONG5.mp3" LOGMSG
"6- SONG6.mp3" LOGMSG
} CHATSTR "`music list" == IF
{ "" CHATSTR =
"Please, check your log..." LOCALMSG
"To play a song first say `music list then type the nubmer of the song from in the log." LOGMSG
} CHATSTR "help" == IF }