Rewrited /gm

This function is somewhat inefficient, using a map-table that maps lowercased Str to gamemode would probably perform better, but this is not a critical thing so I don't mind.