Official Soldat Forums
Server Talk => Scripting Releases => Topic started by: Savage on January 02, 2017, 07:40:27 pm
-
Script Name: MapListReader
Script Description: Tool for reading list of maps, also for searching. Result is divided into pages and displayed in BigText. Hold "Crouch"(forward) or "Jump"(back) key to change page, You can also use "/page <number>", type "/page 0" to close.
Original Author(s): Savage
Compilation: Passed
Core Version: 2.8.1 (SC3)
Code: http://pastebin.com/J2JwWUVe
Player Commands
/maplist|!maplist - Show MapList
/smaplist|!smaplist - Show sorted MapList
/searchmap|!searchmap <pattern> - Show all maps containing searched pattern
/showmapid|!showmapid - Show map index from MapList in SearchResult, do it before searching
/page|!page <number> - Change page to <number>, type "/page 0" to close (You can also hold "Crouch"(forward) or "Jump"(back) key to change page)
Admin Commands
/createsortedmaplist - Create sorted MapList if current one is outdated
/addmap <map name> - Add map to MapList (Default Soldat command)
/delmap <map name> - Remove map from MapList (Default Soldat command)
Updates
04.01.2017 - Modified comments for constants: const_CheckMapsExistence, const_RemoveNotExistingMaps, const_CheckForDuplicates, const_RemoveDuplicates
-
A very good script, very good idea.