Actions

Simple Scripting Conversion

From Iron Realms Nexus Client Documentation

Revision as of 17:51, 6 July 2023 by Argwin (talk | contribs) (Created page with "The Nexus client includes two methods of creating [Reflexes], [Simplified Scripting], and [JavaScript]. While JavaScript allows you to create complex, sophisticated reflex packages, Simplified Scripting allows you to create reflexes without any knowledge of how to write code. However, the day may come when you're ready to make the jump from Simplified Scripting to JavaScript. This guide attempts to serve as a way to bridge that gap more easily. === Send Command === <pre...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Nexus client includes two methods of creating [Reflexes], [Simplified Scripting], and [JavaScript]. While JavaScript allows you to create complex, sophisticated reflex packages, Simplified Scripting allows you to create reflexes without any knowledge of how to write code. However, the day may come when you're ready to make the jump from Simplified Scripting to JavaScript. This guide attempts to serve as a way to bridge that gap more easily.

Send Command

send_command(<command>);

Example:

send_command("put gold in pack");

Show Notice

display_notice(<text>, <fg color>, <bg color>[, <more text>, <fg>, <bg>, ...]);

Example:

display_notice("This will be colored blue.", "blue");
display_notice("This is black on a white background.", "black", "white");
display_notice("This will be red, ", "red", "", "while this is green, ", "green", "", "and this is orange on a blue background.", "orange", "blue");