Random Map Selector

A Config Script for Counter-Strike: Global Offensive

SEX! Ok, we got your attention. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending ashencore points.
  • Post: Give ashencore your thoughts on this Script.
  • Vote: Help ashencore win the Monthly Awards.
  • Rate: Give this Script a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Script.
  • Watch: Get notified when this Script is updated.
Mascot

Resistance is futile...

Sign up

Already a Bananite? Login

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

Share

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

More embeddable images

Bookmark and Share

Credits

Original Authors
ashencore
Scripter

Submitter

ashencore avatar
ashencore Offline
Member Joined 4mo
113 points Ranked 25964th

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

Category

Stats

Posts
0
Views
444
Date Added
1mo
bcp.crwdcntrl.net tracking pixel