Replies with the current value of a viewer debug setting. Only a short whitelist of settings can be read. Any other name gives an empty reply.

Syntax

@getdebug_<setting>=<channel>

Parameters

Setting (case-insensitive)TypeMeaningMarineCoolVL
AvatarSexU320 = female, 1 = male (the gender chosen at avatar creation; doesn't reflect the shape)yesyes
RenderResolutionDivisorU32Screen blur factor, 1 = noneyesyes
RestrainedLoveForbidGiveToRLVBoolean1 = folders given with a #RLV/~ name are not put under #RLVyesyes
RestrainedLoveNoSetEnvBoolean1 = @setenv commands are ignoredyesyes
WindLightUseAtmosShadersBoolean1 = atmospheric shaders onyesno

Return value

The value as text: integers in decimal, booleans as 0/1. For a setting that isn't whitelisted, or doesn't exist, an empty string is still sent on the channel.

Caveats

Examples

llOwnerSay("@getdebug_renderresolutiondivisor=-81234");   // "1" when not blurred

See also

Implementation notes

Whitelist mAllowedGetDebug is built in the RRInterface constructor (RRInterface.cpp 780-785). Dispatch: 1866 (any behavior starting with getdebug_). getDebugSetting() (5320-5396) strips the 9-character prefix, compares case-insensitively with the whitelist, and formats according to the control type.

Client differences

CoolVL's whitelist (mkrlinterface.cpp 265-269) lacks WindLightUseAtmosShaders, although Henri's readme says it was added. In CoolVL @getdebug_windlightuseatmosshaders returns an empty string. Formatting is otherwise the same (CoolVL 6265-6354).

Comparison with RLVa

This command works differently from RLVa's @getdebug_; see the comparison.