mIRC Home    About    Download    Register    News    Help

Print Thread
#173342 24/03/07 09:40 AM
Joined: Mar 2007
Posts: 1
M
Max001 Offline OP
Mostly harmless
OP Offline
Mostly harmless
M
Joined: Mar 2007
Posts: 1
ok in playing around with the sendmessage api as described in help.chm i have successfully poked mirc w/ commands. good!

~ HOWEVER ~

in requesting results of variables i get a mix of smewhat expected replies.
ex.

$ip returns 255.255.255.255
(normally returns the ip entered in ur local info \ ip address text box, masked here for security)

$os returns XPs
( this 1 is case sinsitive and brings me to the annoyance)

if u haven't noticed i wrote 3 chars to the file whe i told mirc i wanted the value for $os, however mirc only returned 2 chars "XP". my question is y does it not clear the file b4 it returns this information?

Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
I can't seem to reproduce this issue here, all of the commands and identifiers that I have tested return a null terminated string. Are you sure that you are mapping/copying your data correctly?


Link Copied to Clipboard