lms fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6978 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+3
-3
@@ -68,7 +68,7 @@ const run [ exec (concatword config/ $arg1 .cfg) ]
|
||||
|
||||
// Auto-completions
|
||||
const mapcomplete [complete $arg1 "packages/maps/official packages/maps" cgz]
|
||||
const mapcommands "map tdm coop dm surv ts ctf pf lss osok tosok htf vip tktf ktf sendmap"
|
||||
const mapcommands "map tdm coop dm surv lms ts ctf pf lss osok tosok htf vip tktf ktf sendmap"
|
||||
loop i (listlen $mapcommands) [ mapcomplete (at $mapcommands $i) ]
|
||||
complete demo "demos" dmo
|
||||
const entcomplete [ listcomplete $arg1 "light playerstart pistol ammobox grenades health armour akimbo mapmodel ladder ctf-flag sound clip plclip helmet" ]
|
||||
@@ -125,8 +125,8 @@ const modenum [ f = -1; loop i $NUM_MODES [ if (strcmp (at $MODES $i) $arg1) [f
|
||||
// Mode/map-setting aliases.
|
||||
const votemap [ mode $arg1; map $arg2 $arg3 ]
|
||||
|
||||
const lms [ votemap (surv -1) $arg1 $arg2 ]
|
||||
const vip [ votemap (htf -1) $arg1 $arg2 ]
|
||||
const lms [ surv $arg1 $arg2 ]
|
||||
const vip [ htf $arg1 $arg2 ]
|
||||
|
||||
// Helper aliases for (c) - easy color insertion. (e.g. echo (red)Hello (blue)world! (white)My fov today is: (orange) $fov)
|
||||
loop k 10 [ const (at "green blue yellow red gray white dbrown dred purple orange" $k) (format "if (= $arg1 -1) [ result %1 ] [ result %2 ]" $k (addpunct (concat c $k) 2)) ]
|
||||
|
||||
Reference in New Issue
Block a user