I am looking for on player chat to replace each letter of a string he speaks to be converted to numbers. So, for example..
1234 = abcd.
I want to accomplish this using the SetPCChatMessage function, and everything. I know how to script everything else, just not taking what he says and converting it to numbers. The number of the letter in the alphabet is equal to its numeric value, so a = 1, b = 2, c = 3, etc. Thanks!
One more thing, I want to make this a custom function that can be included. Can that be done? Thanks!