/* AMX Mod script. 
* 
* Daily Mapcycle 
*  by JustinHoMi 
* 
*/ 

#include <amxmod> 

public load_mapcycle() 
{ 
   new today[8] 
   get_time("%a",today,8) 

   new cmd[48] 

   format(cmd,48,"mapcyclefile addons/amx/mapcycles/%s.cfg",today) 
   server_cmd(cmd) 

   return PLUGIN_HANDLED 
} 

public plugin_init() 
{ 
   register_plugin("Daily Mapcycle","0.2","JustinHoMi") 
   load_mapcycle() 
   return PLUGIN_CONTINUE 
}
