Using this installed: http://turkeyfiles.escapedturkey.net/misc/scripts/root/rcon-hl2-0.02.tar.gz
trying to make a script that reads parameters (hl2rcon.pl): #!/usr/bin/perl my $rcon = Rcon::HL2->new( hostname => "$ipaddress:$port", password => "$pass", timeout => 3, ); $rcon->run("$command"); print $rcon->response(); # end I just need to add a portion to this script to do the following (so I can pass on parameters to it): ./hl2rcon.pl -ip -port -pass -command Example: ./hl2rcon.pl -ip 72.5.249.2 -port 20715 -pass whatever -command "status" Thank you. =) _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux