mIRC Home    About    Download    Register    News    Help

Print Thread
#267087 01/04/20 02:09 PM
K
kirtym
kirtym
K
so i made a mirc bot in glitch.com so i was wondering if anyone know how to make it so when u type in a command such as !hi it will play a specific audio i been search online for quite some time but i didnt find it so i was wondering if anyone here can help me smile

#267131 07/04/20 09:05 AM
Joined: Jan 2017
Posts: 54
K
Babel fish
Offline
Babel fish
K
Joined: Jan 2017
Posts: 54
Code
/splay -cwmpq [filename | stop | pause | resume | seek | skip] [pos]


You can try "/help /splay" in mIRC to get more info.

Assuming you're using Glitch.com as a script editor, and running the scripts locally on your machine, you just need to know the filepath and filename of the sound you want to play.

Let's assume you want to play Laugh.mp3, so you just need to know the filepath. Let's say you copied the sound file into your mIRC folder and placed it in the folder named "sounds", so your filepath would be

Code
$mircdir $+ sounds\Laugh.mp3


Then you just use /splay...

Code
/splay $mircdir $+ sounds\Laugh.mp3




I've never heard of Glitch.com before, but assuming it's just an editor for mIRC scripts, I thought I'd bring up MSL Dev, the mIRC Script Language Developer.
[Click here to get it for Windows or Linux]
It's a very robust and colorful editor, with it's only shortcoming being that it hasn't been updated since 2013, but even then, I still use it today.

Last edited by KubosKube; 07/04/20 09:06 AM.
T
twiz
twiz
T
You'd probably want to use to use the queue parameter (q) if its a public command too


Link Copied to Clipboard