# Namespaces (scripting commands)

- [allVariables](../../commands/allVariables.md): Returns a list of all variables from the desired namespace.
- [currentNamespace](../../commands/currentNamespace.md): Returns the current global namespace the script runs in.
- [disableSerialization](../../commands/disableSerialization.md): Disable saving of script containing this command. After this, the script can work with data types which do not support serialization (UI types).
- [getVariable](../../commands/getVariable.md): Returns the value of variable in the variable space assigned to various data types. All available data types combinations:
- [isMissionProfileNamespaceLoaded](../../commands/isMissionProfileNamespaceLoaded.md): The missionProfileNamespace variables are loaded at the start of a mission, before 'init.sqf' is executed.
- [localNamespace](../../commands/localNamespace.md): Returns local Namespace attached to the mission. Has the same lifetime as missionNamespace but variables cannot be broadcasted out of or into this namespace in multiplayer and will not be serialized when game is saved.
- [missionNamespace](../../commands/missionNamespace.md): Returns the global namespace attached to mission.
- [missionProfileNamespace](../../commands/missionProfileNamespace.md): This namespace has the same lifetime as profileNamespace but is also connected to the mission it is saved from. See saveMissionProfileNamespace for more details.
- [parsingNamespace](../../commands/parsingNamespace.md): Returns the global namespace attached to config parser.
- [profileNamespace](../../commands/profileNamespace.md): Returns the global namespace attached to the active user profile. Use setVariable and getVariable to save and load data to and from this Namespace. A variable can be deleted by setting its value to nil.
- [saveMissionProfileNamespace](../../commands/saveMissionProfileNamespace.md): missionProfileNamespace provides long-term storage solution for mission variables.
- [saveProfileNamespace](../../commands/saveProfileNamespace.md): Saves all variables stored in profileNamespace to the active Profile.
- [serverNamespace](../../commands/serverNamespace.md): Returns server's namespace. This namespace is only available on the server for the server's uptime duration (same as uiNamespace).
- [setVariable](../../commands/setVariable.md): Set variable to given value in the variable space of given element. Can be used to broadcast variables over the network.
- [uiNamespace](../../commands/uiNamespace.md): Returns the global namespace attached to user interface.
- [with](../../commands/with.md): Creates a With Type that is used inside a do construct in order to execute code inside a given namespace.
