mIRC Homepage
Posted By: Vengeance song player - 13/10/06 05:50 AM
This might be really easy for better scripters but im not this good, I want a script where I say "!play <song name>" and it searches a file and plays the song using splay... and i also just some keywords like if i wanted to play the song "Red Hot Chili Peppers - Dani California" I could just say "!play Dani" or something, or like if I said "!play Red Hot Chili Peppers" it would pick a random song by them that I have.

just a script would be cool but I would also like to know how its done :tongue:
Posted By: Vengeance Re: song player - 13/10/06 10:43 AM
nvm on this, found out how to do it using $findfile cool
Posted By: SCNDRL Re: song player - 13/10/06 01:25 PM
Code:
on *:TEXT:*!play ?*:#:{
  if ($findfile(D:\mp3\,$+(*,$2-,*,.mp3),1)) { splay $ifmatch }
}


u should edit D:\mp3\ ..
© mIRC Discussion Forums