AsciiCharToInteger
not ratedReturns the Ascii value of the first character in string char.
I'm not entirely certain that the \-references are correct.
This is the counter-function to AsciiIntegerToChar.
AsciiCharToInteger("A") = 65
AsciiCharToInteger("BC") = 66
AsciiCharToInteger("!") = 33
NOTE! You MUST place this function in the map root custom script section in the trigger editor. If you want to place this function somewhere else, replace the first line in the function with this:
local string charMap = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
I'm not entirely certain that the \-references are correct.
This is the counter-function to AsciiIntegerToChar.
AsciiCharToInteger("A") = 65
AsciiCharToInteger("BC") = 66
AsciiCharToInteger("!") = 33
NOTE! You MUST place this function in the map root custom script section in the trigger editor. If you want to place this function somewhere else, replace the first line in the function with this:
local string charMap = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"