Other players
Input and system
Keys, the cursor, the clipboard, URLs, sounds and other plugins.
input
Keys are Windows virtual-key codes, the same as the key callbacks get (0x41 is A). For keys inside your own windows, see ui.is_key_down with ui.Key values.
input.is_key_down(key)boolean
Whether a key is held.
input.keys_down()integer[]
Every key held.
input.key_name(key)string
A key's name, like
"F8".input.clipboard()string?
The clipboard's text.
Puts text on the clipboard.
input.window_is_focused()boolean
Whether the game window has focus.
Shows or hides the cursor.
Locks the cursor in place, or frees it.
Moves the cursor.
system
system.time_us()integer
The system clock, in microseconds.
system.process_id()integer
The game's process id.
Opens an
http:// or https:// address in the browser.Plays a sound: the contents of a
.wav file, as read by files.read.plugins
The other plugins loaded in the game (not Lua plugins), and events between plugins.
plugins.list()table[]
Every plugin:
{display_name, file_name, visible_on_menu, enabled, visible}.Turns a plugin on or off.
Shows or hides a plugin's window.
Sends an event to every plugin. Lua plugins get it in on_plugin_event.
log
Writes to the injector's log file rather than the console.