From dcccdfb22a39ce9a413242844fcb3170e6a6f82b Mon Sep 17 00:00:00 2001 From: Samual Date: Sun, 10 Apr 2011 16:45:29 -0400 Subject: [PATCH] Add config for balance switching on endmatch (also for notifications of current balance) --- annoy_balance.cfg | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 annoy_balance.cfg diff --git a/annoy_balance.cfg b/annoy_balance.cfg new file mode 100644 index 000000000..184eb4e72 --- /dev/null +++ b/annoy_balance.cfg @@ -0,0 +1,21 @@ +// TEMPORARY CONFIG FOR BALANCE TESTING PURPOSES + +// ANNOY people with the BALANCE +alias annoy "sv_cmd adminmsg 0 \"${* q}\" 70" + // show message for 70 sec, clear previous one +alias annoy_s "annoy $*; echo SERVER^7: $*" + // annoy_s goes to rcon2irc (this echo fakes a chat message's output) +alias printbalance "annoy NOTE: Current balance is ^1$curbalance" + // refresh the balance status bar (call this every 60 sec) +alias printbalance_s "annoy_s NOTE: Next match will run ^1$curbalance" + // announce the balance for next match +alias switchbalance_samual "exec balanceXonotic.cfg; set curbalance fruit; printbalance_s" +alias switchbalance_fruit "exec balanceSamual.cfg; set curbalance samual; printbalance_s" +alias switchbalance "switchbalance_$curbalance" + // toggle between the balances +alias sv_hook_gameend "switchbalance" + // do this at the end of each match +set curbalance fruit +alias annoybalance "printbalance; defer 60 annoybalance" +annoybalance + // our timer \ No newline at end of file -- 2.39.2