]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge remote branch 'origin/samual/fix_crosshair_ring_cvars'
authormand1nga <mand1nga@xonotic.org>
Sun, 10 Apr 2011 20:58:28 +0000 (17:58 -0300)
committermand1nga <mand1nga@xonotic.org>
Sun, 10 Apr 2011 20:58:28 +0000 (17:58 -0300)
annoy_balance.cfg [new file with mode: 0644]

diff --git a/annoy_balance.cfg b/annoy_balance.cfg
new file mode 100644 (file)
index 0000000..184eb4e
--- /dev/null
@@ -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 \ 1SERVER^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