Querying ut2004 Servers

Paste Your code(s) here, and state your problem.

Querying ut2004 Servers

Postby Lenooox » Sun Dec 13, 2009 12:22 pm

hello
i need help for UT2004 query script , i need an script which is to write to our server informations , who play scores of the teams
i tired one schocket script but i cant add other command :S can i add another command?now i need to type this : /sockudp -k gqueryut 80.84.250.128 7787 \info\
but this not public command , i can only use, ineed for a public command also
(sry for my english)
Regards!
Code: Select all
on *:udpread:gqueryut:{
  sockread &t
  if ($bvar(&t,0)) {
    var %t = $bvar(&t,1-).text
    msg #uic.ut UnrealTournament - server: $gettok(%t,$calc($findtok(%t,hostname,92) + 1),92) map: $gettok(%t,$calc($findtok(%t,mapname,92) + 1),92)  players: $gettok(%t,$calc($findtok(%t,numplayers,92) + 1),92)

  }
  sockclose $sockname
}
Lenooox
 

Return to Mirc Scripting Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron