So i want to create this plugin, which would exclude more maps in nominations (i don't like the fact that people always nominate the same maps in my server)
I found admin command "sm_maphistory"
and i will use it with
ServerCommand("sm_maphistory", buffer)
But how do i take response from this command wich is posted into console?
Example:
Code:
Map : Started : Played Time : Reason for ending
00. surf_rebel_resistance_final11 (Current Map)
01. surf_sand_css : 31m ago : 26m : Normal level change
02. surf_skate_pro_v2_jail : 58m ago : 27m : Normal level change
03. surf_skyworld : 1h 9m ago : 11m : Normal level change
04. surf_machine4 : 1h 55m ago : 46m : Normal level change
05. surf_10x_reloaded : 2h 22m ago : 27m : Normal level change
and so on till 20.
And how do i take only lets say five first strings? Is it even possible to exclude those maps from nominations?
Sorry guys for a lot of questions but i'm very interested in it =].