Page 1 of 1

Color in MSN Name bug!

Posted: Mon Nov 03, 2003 16:25 pm
by Zjaak
Hi,

When i try to chat with someone who has colors in his name (with MSNPlus+ or MSN Messenger for mIRC) i get this error:

* /sockopen: invalid parameters (line 227, msn.mrc)

There must be a simple way to fix this. Like getting rid of the colors and then open the chat window.

Tnx, and cya l8r

Posted: Mon Nov 03, 2003 17:30 pm
by Tech
Try using $strip() in the sockopen command for the chat.email

Posted: Mon Nov 03, 2003 17:58 pm
by Zjaak
Mmh, doesn't seem to work, what i have now is:

Code: Select all

sockopen chat. $+ $strip(%msn.clickemail,burc) $gettok(%msn.chatserver,1,58) $gettok(%msn.chatserver,2,58)
but i still get
-
* /sockopen: invalid parameters (line 227, msn.mrc)
-
If anyone knows how to fix it, please post it.

Thanks

Posted: Mon Nov 03, 2003 18:02 pm
by Tech
Give me a few seconds to look into this prob.

Posted: Mon Nov 03, 2003 18:05 pm
by Zjaak
Okay, here is some information of my pc:

os: Windows ME
mhz: 350
ram: 160 mb
mirc: 6.12
Messenger4mirc: 3.20

Posted: Mon Nov 03, 2003 18:06 pm
by Guest
Tech wrote:Dont use the second parm.
ok, ill try

Posted: Mon Nov 03, 2003 18:06 pm
by Guest
doesn't work eigther :(

Posted: Mon Nov 03, 2003 18:22 pm
by Tech
Make it this...

Code: Select all

echo -a $strip(%msn.clickemail) ::: $gettok(%msn.chatserver,1,58) ::: $gettok(%msn.chatserver,2,58)

sockopen chat. $+ $strip(%msn.clickemail,burc) $gettok(%msn.chatserver,1,58) $gettok(%msn.chatserver,2,58)
Then respond with what it is.[/code]