Yea I tried that but after the vote is over it still doesn't set "agnextmap" to the same as amx_nextmap. Plus I get a warning when compiling.
Code:
//AMXXSC compile.exe
// by the AMX Mod X Dev Team
//// agmapchooser.sma
// ...\AMX ModX Scripting\mapchooser.sma(97) : warning 217: loose indentation
// ...\AMX ModX Scripting\agmapchooser.sma(98) : warning 217: loose indentation
//
// 2 Warnings.
// Done.
//
// Compilation Time: 0.59 sec
// ----------------------------------------
Press enter to exit ...
__________________