Rcsc

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Pluggy.

Syntax:

(Result:long) rcsc StringID:long Position:long

rcsc is the reverse function of csc. It converts the character at Position in the StringID into its matching localized ScanCode.

Notes:[edit | edit source]

  • The result needs to be interpreted before being used.
    • If the result is between [0..255] it's directly the correct ScanCode which correspond to an "UnShifted" key.
    • If the result is between [256..511], it means it correspond to a SHIFT or CAPS +KEY, then you have to do Result - 256 to get the ScanCode of the key.
  • If position is omitted it is assumed to be 1 converting the first character of StringID.

See also:[edit | edit source]

csc