For example…

RegisterCommand('idk', function(source, args, rawCommand)
    SetMapName('some cool map name')
end, false)
2 Likes