Author Topic: MapListReader  (Read 2602 times)

0 Members and 1 Guest are viewing this topic.

Offline Savage

  • Soldier
  • **
  • Posts: 155
« 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)

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)

04.01.2017 - Modified comments for constants: const_CheckMapsExistence, const_RemoveNotExistingMaps, const_CheckForDuplicates, const_RemoveDuplicates
« Last Edit: January 04, 2017, 05:22:46 pm by Savage »

Offline Slasher

  • Soldier
  • **
  • Posts: 106
  • Peace
Re: MapListReader
« Reply #1 on: January 02, 2017, 08:28:34 pm »
A very good script, very good idea.
Make love, not war.