mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2015
Posts: 2
S
Bowl of petunias
OP Offline
Bowl of petunias
S
Joined: Jun 2015
Posts: 2
trying to create a script using ircify to tell the current song I am listening to on Spotify. Currently mIRC correctly tells the song I want in my twitch chat when I type /sptell into the chat in mIRC, but I want /sptell to be broadcasted whenever !song occurs in chat. I am really new to aliases and have only been messing around in remote scripts as of now but here is my current script:

on *:TEXT:!song:#: {
if ((%floodsong) || ($($+(%,floodsong.,$nick),2))) { return }
set -u10 %floodsong On
msg $chan /sptell
}

Of course this does not broadcast it to the channel. How would I call this command and fix my script? Thank you

Joined: May 2015
Posts: 249
Fjord artisan
Offline
Fjord artisan
Joined: May 2015
Posts: 249
Try to use just
Code:
sptell
instead of
Code:
msg $chan /sptell


Dont give a fish - teach to fish!
Joined: May 2015
Posts: 249
Fjord artisan
Offline
Fjord artisan
Joined: May 2015
Posts: 249
Code:
msg $chan /sptell
taht means: mIRC sends msg to server which looks like "/sptell" and server try to recognize it, but there is no such a command on server-side.
And just
Code:
sptell
means you request this command from your mIRC client.


Dont give a fish - teach to fish!
Joined: Jun 2015
Posts: 2
S
Bowl of petunias
OP Offline
Bowl of petunias
S
Joined: Jun 2015
Posts: 2
worked, thank you


Link Copied to Clipboard