mIRC Home    About    Download    Register    News    Help

Print Thread
#49681 15/09/03 10:07 PM
Joined: Feb 2003
Posts: 7
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Feb 2003
Posts: 7
Hi every1!
I'd like to know how can I make my script to show where I'm playing online when a exactly command is used.
For example: I'm play America's Army, Tactical Ops, Unreal, Enemy Territory, games like those... when a person evoque "!where" (for ex.:) my script show the game names, Server name and/or IP, Map name, Ping and if it is possible, how long I'm playing.
I know that there are a few scripts that do this, but how can I make my script do that? confused


Stay Cool & Enjoy

....:::\\ '][' //:::....
T-Cypher
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Simple answer:
You can't.

Joined: Feb 2003
Posts: 7
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Feb 2003
Posts: 7
why not? I saw NNScript do it.


Stay Cool & Enjoy

....:::\\ '][' //:::....
T-Cypher
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
mIRC has no way to gather this information, therefore it has no way to display this information. If someone made a script to do it, then they most likely typed everything in manually, it wasn't automatic.

Joined: Feb 2003
Posts: 7
T
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Feb 2003
Posts: 7
Ok, thx smile


Stay Cool & Enjoy

....:::\\ '][' //:::....
T-Cypher
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
They might have typed it, but chances are used a program in mirc to launch the game. That would tell mirc what game your in.


-KingTomato
Joined: Dec 2002
Posts: 54
S
Babel fish
Offline
Babel fish
S
Joined: Dec 2002
Posts: 54
you can query game servers trough socket scripting (sockudp) and even build your whole gamebrowser around it where u can double click the server u want to join(and then a /run command), but if you"re not so good at scripting i wouldnt start with that lol,

http://dev.kquery.com/index.php?article=4
http://unreal.student.utwente.nl/UT2003-queryspec.html

but making a !where trigger is another problem, lol wouldnt know how to check if the game is closed, maybe the game logfiles will contain something(in ut tough)

utmirc has something like that, the !wut trigger, but that isnt working perfectly all the time

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
You need a function that is called "wut system", that will send the info you looking for.. and hmm, i havent seen anywhere that you can download it.. but if you really want one, then send me a msg and i give you my code smile i wrote my own cos i couldent find anywhere to get it from.. and nn script have that system, but same thing there, he that made the script made hes own system.. it all working with a DLL called "MircTLL.dll", and its not that easy to write it.. took me a long time befor i got it to work as it suposed to do.. smile "the wut system is only for Unreal Tournament"


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Link Copied to Clipboard