mob
verb
SaveMap(map as text)
if(!map) map=input("Map name","Map name") as text
if(!SwapMaps_Save(map))
usr << "Map [map] not found."
else
usr << "Map [map] saved."
proc/SwapMaps_Save(id)
InitializeSwapMaps()
var/swapmap/M=swapmaps_byname[id]
if(M) M.Save()
return M
Always returns that the map was not found. I'm no expert programmer but I believe I've got a competent grasp of what I'm doing I'd hope. Attempting to read the help file doesn't really...well help.