mIRC Home    About    Download    Register    News    Help

Print Thread
#161956 13/10/06 05:50 AM
Joined: Oct 2006
Posts: 9
V
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
V
Joined: Oct 2006
Posts: 9
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:

#161957 13/10/06 10:43 AM
Joined: Oct 2006
Posts: 9
V
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
V
Joined: Oct 2006
Posts: 9
nvm on this, found out how to do it using $findfile cool

#161958 13/10/06 01:25 PM
Joined: Dec 2005
Posts: 58
S
Babel fish
Offline
Babel fish
S
Joined: Dec 2005
Posts: 58
Code:
on *:TEXT:*!play ?*:#:{
  if ($findfile(D:\mp3\,$+(*,$2-,*,.mp3),1)) { splay $ifmatch }
}


u should edit D:\mp3\ ..

Last edited by SCNDRL; 13/10/06 01:26 PM.

i like that

Link Copied to Clipboard