tf_setvar(name, value) handles setting global variable values
tf_unsetvar(name) handles clearing a global variable
tf_sendstr(string, world, flags) is the analog to send() - send the string argument to the given world with flags
tf_sendvar(var, world, flags) is the analog to send() - send the /variable/ argument (ie, what's in the TF global variable) to the given world with flags.
The reason for tf_sendvar() is to simplify things involving variables w/ attributes in them that may have been captured via triggers and such.
The reason for tf_sendvar() is to simplify things involving variables w/ attributes in them that may have been captured via triggers and such.