From: Mario Date: Wed, 14 Oct 2020 23:13:57 +0000 (+1000) Subject: Avoid using nested quotes in the map screenshot script X-Git-Tag: xonotic-v0.8.5~85 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4995b9b8da0ecb49ef107b287309bbae18671d68;p=xonotic%2Fxonotic.git Avoid using nested quotes in the map screenshot script --- diff --git a/misc/tools/xonotic-map-screenshot b/misc/tools/xonotic-map-screenshot index f4324c14..f402d2d8 100755 --- a/misc/tools/xonotic-map-screenshot +++ b/misc/tools/xonotic-map-screenshot @@ -31,13 +31,13 @@ count=`yes x | head -n "$count" | tr -cd x` +'sv_clientcommand_antispam_time -999' \ +'sv_clientcommand_antispam_count 999' \ +'set catchme "catchme_"' \ - +"alias catchme_$count \"quit\"" \ + +"alias catchme_$count quit" \ +'alias NARF "sv_cmd nextframe cl_cmd nextframe sv_cmd nextframe cl_cmd nextframe $*"' \ +'alias ZORT "god; NARF EGAD"' \ +'alias EGAD "noclip; NARF POIT"' \ - +'alias POIT "$catchme; set catchme \"${catchme}x\"; impulse 911; NARF TROZ"' \ + +'alias POIT "$catchme; set catchme ${catchme}x; impulse 911; NARF TROZ"' \ +'alias TROZ "screenshot; NARF POIT"' \ - +'alias cl_hook_gamestart_all "defer 1.1 \"cmd join\"; defer 2 ZORT"' \ + +'alias cl_hook_gamestart_all "defer 1.1 join; defer 2 ZORT"' \ +"defer \"$watchdog\" quit" \ +"map \"$map\"" \ +'timelimit 0' \