The Game Modding Community - Since 2001

Random Map Selector

A Config Script for Counter-Strike: Global Offensive

43 lines | 1 kb | Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
function setup() {
        printl("Random Map Selector by AshenCore");
        printl("Installed!");
        printl("Commands: select, about, unload")
                SendToConsole("alias select script select()");
                SendToConsole("alias about script about()");
                SendToConsole("alias unload script unload()");
        }
//Functions
function select() {
        this.map <- RandomInt(1,10);
        if (map == 1)
        SendToConsole("map de_dust");
        if (map == 2)
        SendToConsole("map de_dust2");
        if (map == 3)
        SendToConsole("map de_mirage");
        if (map == 4)
        SendToConsole("map de_inferno");
        if (map == 5)
        SendToConsole("map de_aztec");
        if (map == 6)
        SendToConsole("map de_vertigo");
        if (map == 7)
        SendToConsole("map de_shortdust");
        if (map == 8)
        SendToConsole("map de_safehouse");
        if (map == 9)
        SendToConsole("map de_shorttrain");
        if (map == 10)
        SendToConsole("map cs_insertion");
}

function about() {
        printl(@"[MC] Map Chooser by AshenCore");
        printl(@"[MC] Version 1.0");
}

function unload() {
        SendToConsole("alias select");
        SendToConsole("alias about");
        SendToConsole("alias unload");
}
This script selects random map

------------------------
       Installing
------------------------
1.Download this file
2.Go to directory "%SteamLibrary%/steamapps/common/Counter-Strike: Global Offensive/csgo/scripts/vscripts"
3.Copy file mapselector.nut in this directory
4.Open the game
5.Start any map
6.Write "script_execute mapselector.nut" in the console.
7.Write "script setup();" in the console
8.Write "select" in the console

Posts

None found

Embed

Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:

Credits

Original Authors
ashencore
Scripter

Submitter

ashencore avatar
ashencore Joined 9mo ago
Offline
113 points Ranked 27075th

ashencore
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Scores

  • Not yet rated
Sign up to access this!
Sign up to access this!

Category

Stats

Posts
0
Views
1,350
Date Added
6mo

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Hey, you! Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Rate: Rate mods and help them stand out.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Stop Lurking! Sign up now!

Already a Bananite? Login

bcp.crwdcntrl.net tracking pixel