got it done, thanks, sorry for being a slowpoke, it's a little confusing using things you never used before =P
here is the code in case newbies would be interested in doing something like this
PHP Code:
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /testme", "function").
}
public function(id)
{
new cfgdir[32], mapname[32]
get_configsdir(cfgdir, charsmax(cfgdir))
get_mapname(mapname, 31)
server_cmd("exec %s/maps/%s.cfg", cfgdir, mapname)
}