mIRC Home    About    Download    Register    News    Help

Print Thread
#18996 13/04/03 07:03 AM
Joined: Mar 2003
Posts: 8
T
Techwid Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Mar 2003
Posts: 8
Just got the AMIP plugin for winamp that allows you to have irc integration via $dde calls. I made an alias

/playing say $dde(mplug,format,"Now_Playing:_%no)"

Which would output: <Techwid`> Now Playing: Artist - Song

This works fine, but I want to add colors to it. However if you add a comma into it for background colors dde complains about insuffcient parameters

Example:
$dde(mplug,format,"?14,1Now_Playing:_%no")

I tried doing the \ and / to tell mirc to ignore the comma and just output it to screen (like in c++) but that didn't work. So my question is, what character tells mirc to ignore the value of a character and just output it to the screen ?

I also played around with the /dde way of doing dde calls, but I don't think its possible to execute a say that way. So any help on how to do that would be appreciated thanks!
-Techwid

#18997 13/04/03 09:51 AM
Joined: Dec 2002
Posts: 699
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
Try putting the colour code outside the dde call
Code:
playing say 14,01 $+ $dde(mplug,format,"Now_Playing:_%no)


#18998 13/04/03 11:26 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
or replace commas with " $+ $chr(44) $+ " in the dde


-KingTomato
#18999 14/04/03 05:49 PM
Joined: Dec 2002
Posts: 44
G
Ameglian cow
Offline
Ameglian cow
G
Joined: Dec 2002
Posts: 44
because in mirc script everything is a string, if you would use "\," or "/,", it will be "\," smile


sorry for my bad english
watch out when you're in front of my scalar howitzer smile

Punks not dead!
#19000 14/04/03 05:51 PM
Joined: Dec 2002
Posts: 44
G
Ameglian cow
Offline
Ameglian cow
G
Joined: Dec 2002
Posts: 44
eh.. where you was downloaded that plugin?:))) i would have much use for it wink


sorry for my bad english
watch out when you're in front of my scalar howitzer smile

Punks not dead!
#19001 14/04/03 09:32 PM
Joined: Mar 2003
Posts: 8
T
Techwid Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Mar 2003
Posts: 8
King tomato, me lub you long time. Thats the solution I needed THANK YOU.

and to the person who wondered where I got that script, you can grab it here
AMIP

But be forewarned, I didn't test others or anything. I just did a google search came across that and it has worked very well so far.

#19002 15/04/03 01:02 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Np, tech. >:D Anything to help out a fellow mIRC user. grin


-KingTomato

Link Copied to Clipboard