StringToInt

A command for Pluggy.

Syntax:

(Result:long) StringToInt StringID:long

Converts a string into a integer variable. If the string does not contain a properly formatted int, it will return 0.

  • You may specify a hexadecimal number in the string, but it must be preceded with "0x". For example, the string "0x4B" would return the value 75.