mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2003
Posts: 1
M
Mostly harmless
OP Offline
Mostly harmless
M
Joined: Jun 2003
Posts: 1
I got a problem, my winamp mirc posting script always wants to write the action in the status channel, although it's not the active channel.
the msg is: /me playing %s
%s is the song name

Joined: Dec 2002
Posts: 169
J
Vogon poet
Offline
Vogon poet
J
Joined: Dec 2002
Posts: 169
/describe #channel is playing %s

Actually, with winamp type scripts I found it best to have winamp call a custom alias to deal with it.

/mycustalias %s
Code:
alias mycustalias {
  if ($active ischan) { describe $active is playing $1- }
}
or

/scon -at1 /mycustalias %s
Code:
alias mycustaliast {
  if (($network == myfavnetwork) && ($me ison #myfavchan)) { describe #myfavchan is playing $1- }
}

I think your best bet is to make it output to a specific channel if you are on it. You may avoid a few bans that way. Many channels find it annoying.

Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
Code:
 
alias mycustalias {
set %song $1-
}
alias playing {
msg # np. %song
}


So you won't annoy people when you change the song 50 times in a row smile


Code:
//if ( khaled isgod ) echo yes | else echo no

Link Copied to Clipboard