mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 111
E
Vogon poet
OP Offline
Vogon poet
E
Joined: Dec 2002
Posts: 111
I have been battling with mirc for a good hour and a half trying to figure out why some data I am sending over sockets isn't reaching its designated target, and finally narrowed it down. for some reason $ip is just not returning anything at all!

set %variable $ip sets that variable to literally, $ip

and if i try //echo $ip in the status window nothing is returned.

why?

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Eurm, does //echo -a $eval($ip,1) return anything?

Joined: Mar 2004
Posts: 359
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Mar 2004
Posts: 359
You could also try doing //!echo $ip

Joined: Dec 2002
Posts: 111
E
Vogon poet
OP Offline
Vogon poet
E
Joined: Dec 2002
Posts: 111
Quote:
Eurm, does //echo -a $eval($ip,1) return anything?


* /echo: insufficient parameters
-


//!echo $ip doesnt return anything either

smirk

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
This thread any use to you?

Joined: Dec 2002
Posts: 111
E
Vogon poet
OP Offline
Vogon poet
E
Joined: Dec 2002
Posts: 111
wow. i typed /localinfo -h and then tried //echo $ip again and it worked

apparently $ip relies on /localinfo being ran first

thats goofy

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Well, aslong as it works. grin


Link Copied to Clipboard