From: Rudolf Polzer Date: Sat, 15 Oct 2011 12:42:20 +0000 (+0200) Subject: midi2cfg: generate setbots command to help automated recording X-Git-Tag: xonotic-v0.6.0~69^2~24 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=12b5a45e422b98c09e71e733929f17e8fb067763;p=xonotic%2Fxonotic.git midi2cfg: generate setbots command to help automated recording --- diff --git a/misc/tools/midi2cfg-ng.pl b/misc/tools/midi2cfg-ng.pl index ad06b746..3e178a24 100755 --- a/misc/tools/midi2cfg-ng.pl +++ b/misc/tools/midi2cfg-ng.pl @@ -993,6 +993,8 @@ for(;;) my @preallocate_new = map { $_->{classname} } @busybots_allocated; if(@preallocate_new == @preallocate) { + print "sv_cmd bot_cmd reset\n"; + print "sv_cmd bot_cmd setbots @{[scalar @preallocate_new]}\n"; print "$precommands$commands"; exit 0; }