Ever had the thought: "Damn i don't know what map to play next!!!" when someone asked you to choose the next map? Than this script fixes all your problems!
It picks a random map from a predefined mappool of maps you like.
usage: /letsplay "mode"
Have fun!
Big Thanks fly out to RaZgRiZ!
// A random map script for if you just don't know what to play anymore. // // Authors: Star, RaZgRiZ // // Execute it with the following command + arguments // // letsplay "mode" // // where "mode" might be any deathmatch, team, capture or ctf mode you like to play! // Edit the maplist to your needs dm_mps = [...] ctf_mps = [...] capture_mps = [...] // scriptcore dm_modes = [effic insta ffa efficteam tac tacteam teamplay instateam] ctf_modes = [ctf instactf efficctf hold instahold effichold protect instaprotect efficprotect] capture_modes = [capture regencapture] rndo = [at $arg1 (rnd (listlen $arg1))] letsplay = [ cond (> (indexof $dm_modes $arg1) -1) [ say "#persistteam enable" $arg1 (rndo $dm_mps) ] (> (indexof $ctf_modes $arg1) -1) [ $arg1 (rndo $ctf_mps) ] (> (indexof $capture_modes $arg1) -1) [ $arg1 (rndo $capture_mps) ] () [error "^f3Invalid mode!"] ] listcomplete "letsplay" (concat $dm_modes $ctf_modes $capture_modes)