On Wednesday 06 December 2006 16:44, Andreas Kang Schøyen wrote: > I mean like sending rcon say "You have only one hour left" > For instance. :)
You can always use expect. Assuming you are using screen: ----->8--------- #!/usr/bin/expect -f set timeout 1 spawn /usr/bin/screen -d -r match_max 100000 send -- "rcon say \"You have only one hour left\"\r" expect eof ------>8-------- Create executable file containing text above and set executable bit. With: set usethis [lindex $argv 0] send -- "rcon kick $usethis\r" you may even use commandline parameters to. One more thing; I assume that you run only one screen session and force it to detach if already attached. You can always identify proper one by spawning screen using -S unique_name and reattaching it -r unique_name -- mariuszZIELIŃSKI _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

