SSTI_API_GET_PARAM (SSTI API Command)

Allows requesting your own custom variables from SSTI Config Notecard.

Variables

The following table shows input values (you send them with the API call) and returned output values.

Variable


Required

Description

Input, llMessageLinked(LINK_SET, num, str, id):





num


SSTI_API_GET_PARAM


str


variable name (will be prepended with "PLUGIN ")


id


-- not used --

Output:





Response events


Expect the SSTI_SERV_EVENT_PARAM event with a variable value.

Comments

This command allows requesting your own variables only because "PLUGIN " prefix is being added:

Code sample missing: the old wiki failed to render this code block, so it was not in the source. Restore it from the original source.

checks for this config variable:

 PLUGIN MY PARAM = some-value-here

Example

This example requests your own variable from a config notecard.

1. Add the following line to your SSTI config notecard:

PLUGIN WARNING TEXT = Dear tenant, please clean up your prims.

2. Launch the code:

Code sample missing: the old wiki failed to render this code block, so it was not in the source. Restore it from the original source.

Code sample missing: the old wiki failed to render this code block, so it was not in the source. Restore it from the original source.