49
edits
(→Key) |
(→Key) |
||
| Line 19: | Line 19: | ||
** Will start the client module and return to global. <pre>context client; start; context global</pre> | ** Will start the client module and return to global. <pre>context client; start; context global</pre> | ||
** Will print 'fred', using the 'global' default 'varedit' command. 'bob' is not a command but an existing variable. <pre lang="lua">var bob fred; bob</pre> | ** Will print 'fred', using the 'global' default 'varedit' command. 'bob' is not a command but an existing variable. <pre lang="lua">var bob fred; bob</pre> | ||
** Will print 'james'. Where the default command finds the existing 'bob', and assigns 'james'. <pre lang="lua">bob james; bob</pre> | ** Will print 'james'. Where the default command finds the existing 'bob' valiable in the 'global' context, and assigns 'james'. <pre lang="lua">bob james; bob</pre> | ||
* Command - a script command | * Command - a script command | ||
* Variable - a script variable | * Variable - a script variable | ||