StringEsp

A command for Pluggy.

Syntax:

(EspID:short) StringEsp StringID:long EspID:short Global:short

Sets the EspID of the specified string, and returns the EspID.

  • If EspID is not specified or is invalid, the calling Esp is used.
  • If the string does not exist, the function returns -1.
  • If you want to modify a string from another mod, you will need to set the Global flag to 1. If Global is 0 or unset the function will fail. If the string is protected the function will fail.