Epic stuff Gibbeh! :D
Random map/match script:
Use:
Commands to use the script.
Singleplayer and coop modes were left out intentionally.
Random map/match script:
[SELECT ALL] Code:
// Random map/match script by DES|Bukz
alias offmaplist [ac_aqueous ac_arabian ac_arctic ac_arid ac_complex ac_depot ac_desert ac_desert2 ac_desert3 ac_douze ac_elevation ac_gothic ac_iceroad ac_ingress ac_keller ac_mines ac_outpost ac_power ac_rattrap ac_scaffold ac_shine ac_snow ac_sunset ac_toxic ac_urban ac_werk]
alias mltmdelist [tdm dm lms ts ctf pf lss osok tosok htf tktf ktf]
alias rndmap [
map (at $offmaplist (rnd (+ (listlen $offmaplist) 1)))
]
alias rndmatch [
((at $mltmdelist (rnd (+ (listlen $mltmdelist) 1))) (at $offmaplist (rnd (+ (listlen $offmaplist) 1))))
]
addOnQuit [offmaplist = ""; mltmdelist = ""; rndmap = ""; rndmatch = ""]
docsection [RND]
docident [rndmap] [Loads a random official map.]
docident [rndmatch] [Loads a random mode on a random map.]
Use:
[SELECT ALL] Code:
/rndmap // Loads a random map.
/rndmatch // Loads a random mode on a random map.
Singleplayer and coop modes were left out intentionally.