Avoid using nested quotes in the map screenshot script

This commit is contained in:
Mario 2020-10-15 09:13:57 +10:00
parent 9304e64c09
commit 4995b9b8da

View File

@ -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' \