Skip to content
eaxs edited this page Dec 30, 2011 · 6 revisions

The framework has a number of shorthands for commands which allow you to write code faster. These shorthands are technically just variables with the values of the command. In order to use a shorthand, you have to evaluate the variable.


Available Shorthands

  • $ (Shorthand for “Set”)
  • $_ (Shorthand for “CreateVar”)
  • $e (Shorthand for “ExecScript”)
  • $c (Shorthand for “ClientExecScript”)
  • $r (Shorthand for “RegisterEntityScript”)
  • @ (Shorthand for “GoTo”)
  • > (Shorthand for “SendMessage”)
  • < (Shorthand for “echo”)

Code examples

Print a console message:

#<# "Hello World"

Create a variable called “hello_world”:

#$# hello_world "Hello"

Run the script called “K2”:

#$e# K2

Clone this wiki locally