mIRC Homepage
Posted By: mickael9 "/sockwrite" BUG - 27/12/05 03:18 AM
Hi,
I'm using mIRC 6.16
Code:
//set %test &test
//sockopen test www.mirc.com 80
//sockwrite -n test %test


produce this :

Code:
[color:blue]* /sockwrite: '&test' does not exist[/color]
Posted By: FiberOPtics Re: "/sockwrite" BUG - 27/12/05 03:39 AM
This is not a bug.

%test evaluates to &test, which is the represenatation of a binary variable. (/help binary variables)

And sockwrite will interpret binvars unless you specify the t switch, so change your sockwrite to:

//sockwrite -tn test %test
Posted By: TheEmulatorGuy Re: "/sockwrite" BUG - 27/12/05 03:44 AM
I *think* it's because you're using two slashes. Let me check.

[Edit: Nope, I've been proven wrong - by myself and the above poster]
Posted By: mickael9 "/sockwrite" BUG - 27/12/05 03:49 AM
Quote:
This is not a bug.

%test evaluates to &test, which is the represenatation of a binary variable. (/help binary variables)

And sockwrite will interpret binvars unless you specify the t switch, so change your sockwrite to:

//sockwrite -tn test %test


Ok thanks.
© mIRC Discussion Forums