allow kick/ban reasons to have up to 20 spaces without fuss

This commit is contained in:
ac-stef
2014-08-02 12:41:30 +02:00
parent 9fd7740855
commit d8f39d821a
+2 -2
View File
@@ -1,7 +1,7 @@
persistidents 0
const kick [ callvote 0 $arg1 $arg2 ]
const ban [ callvote 1 $arg1 $arg2 ]
const kick [if $numargs [if (> $numargs 1) [loop i (- $numargs 2) [alias arg2 (concat $arg2 (getalias (concatword arg (+ $i 3)))) ] ] [] ; callvote 0 $arg1 $arg2 ] ]
const ban [if $numargs [if (> $numargs 1) [loop i (- $numargs 2) [alias arg2 (concat $arg2 (getalias (concatword arg (+ $i 3)))) ] ] [] ; callvote 1 $arg1 $arg2 ] ]
const removebans [ callvote 2 $arg1 ]
const mastermode [ callvote 3 $arg1 ]
const autoteam [ callvote 4 $arg1 ]