mappack, mappack everywhere!
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7522 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
// %gema matches all servers with gema maps currently played
|
||||
// >350 matches all servers with ping > 350
|
||||
// #5 #13 #14 #15 matches all servers with flag modes currently played
|
||||
// $mpmap matches all servers with a map from your installed mappack currently played
|
||||
// $offmap matches all servers with an official map currently played
|
||||
|
||||
// cubescript aliases can be used to check more complicated conditions
|
||||
@@ -41,10 +40,8 @@
|
||||
// arg1: mapname, arg2: gamemode number, arg3: ping, arg4: minutesremaining, arg5: number of players, arg6: maxclients, arg7: IP, arg8: port, arg9: pongflags
|
||||
// pongflags is bit-coded: bit 0: passworded, bit 1: banned, bit 2: blacklisted, bit 6: mastermode
|
||||
|
||||
// these two example scripts check, if the server plays a map from either the official list or the mappack list
|
||||
persistidents 0
|
||||
|
||||
mpmap = [ (+ 1 (findlist $mappack_maps $arg1)) ]
|
||||
offmap = [ (+ 1 (findlist $defaultmaps $arg1)) ]
|
||||
|
||||
|
||||
@@ -89,7 +86,6 @@ addfavcategory MAP
|
||||
sbfavourite_MAP_desc = "Nice maps"
|
||||
sbfavourite_MAP_alpha = 0
|
||||
sbfavourite_MAP_weight = 1
|
||||
sbfavourite_MAP_keys = "$mpmap" // automatically add servers with mappack maps
|
||||
|
||||
addfavcategory MODE
|
||||
sbfavourite_MODE_desc = "Favourite game modes"
|
||||
|
||||
Reference in New Issue
Block a user