parameters: (self, name, value)
docstring: Set a global variable.
  
  Equivalent to `! global` in RiveScript code. Set to None to delete.
docstring_summary: Set a global variable.
docstring_tokens: Set a global variable .
function: def set_global(self, name, value):
          """Set a global variable.
  
  Equivalent to `! global` in RiveScript code. Set to None to delete."""
          if value is None:
              # Unset the variable.
              if name in self._gvars:
                  del self._gvars[name]
          self._gvars[name] = value
function_tokens: def set_global ( self , name , value ) : if value is None : # Unset the variable. if name in self . _gvars : del self . _gvars [ name ] self . _gvars [ name ] = value