Jump to content

LUA | RANDOM NEXT MAP - Enemy Territory LUA


KUBAA

Recommended Posts

LUA | RANDOM NEXT MAP

View File
---------------------------------
---    MODULE CONFIGURATION   ---
---------------------------------

mapListFile = "/home/server/nitmod/maplist.txt" 	-- Absolute path to the map list file
shownextcmd = "?next" 					-- Command that will be used to print the next map
chatInterval = 5 					-- Delay, in minutes, between every automatic nextmap announce in the server chat
useBanners = 1 						-- If set to 1, enable nextmap announce in server banners (i.e: 'bannerCvar' will be set to 'bannerMsg')
bannerCvar = "g_msg1" 					-- Define which banner will hold the "next map is ..." message
bannerMsg = "^9Next map is ^2%s^9."		 	-- Banner message template (%s will be replaced by the name of the next map)
chatMsg = 	"^9Next map is ^2%s^9." 		-- Chat message template (%s will be replaced by the name of the next map)
CHATCMD = "chat" 					-- Chat command (use "b 8" to run this script on ETPro)

 

SOURCE. www.ETMODS.net


  • Submitter
  • Submitted
    10/16/22
  • Category
    LUA

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.