mIRC Home    About    Download    Register    News    Help

Print Thread
#114386 14/03/05 01:31 AM
A
alkahol1k
alkahol1k
A
//sockwrite -n bot privmsg $3- ...System : $dll(moo.dll,osinfo,_)
returns .stat ...System : Windows XP Professional, Service Pack 2 (5.1 - 2600)

how do i show the results without '.stat' showing ?

Last edited by alkahol1k; 14/03/05 01:31 AM.
#114387 14/03/05 01:41 AM
Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
If $3 is filled with .stat, simply change $3 to $4?

Without seeing the code, the trigger and such that's as much help as I can give.

All the best,

Andy.

#114388 14/03/05 01:47 AM
A
alkahol1k
alkahol1k
A
I tried that doesn't seem to work

#114389 14/03/05 01:49 AM
A
alkahol1k
alkahol1k
A
if ($4 == :.stat) && (($right($gettok($1,1,33),-1) == $me) || ($level($address($right($gettok($1,1,33),-1),5)) == aowner)) {
.sockwrite -nt bot privmsg $3 $4- $uptime
.sockwrite -nt bot privmsg $3 $1 ...System : $dll(moo.dll,osinfo,_)
.halt
}

#114390 14/03/05 09:14 PM
F
funman
funman
F
Code:
if ($4 == :.stat) && (($right($gettok($1,1,33),-1) == $me) || ($level($address($right($gettok($1,1,33),-1),5)) == aowner)) {
.sockwrite -nt bot privmsg $3 $4- $uptime
.sockwrite -nt bot privmsg $3 $1 ...System : $dll(moo.dll,osinfo,_)
.halt
} 

That's what you have...you need to change $4- to $5- or maybe even completely remove it. also, you should add a colon to it to ensure all text is sent
Code:
sockwrite -nt <socketname> PRIVMSG <receiver> :<message>


Link Copied to Clipboard