Added in 2.4

$scripts

Returns $true if /scripts is enabled, otherwise $false.

See also /scripts.