[muy importante, ok?]: this is an outdated way of doing all this. there's a faster, less restrictive, and case-sensitive version of this project at https://scratch.mit.edu/projects/992345637/ the only reason to use this over my newer implementation is the compactness of the output numbers, but even for that usage this version is limited because its most useful context (storing usernames in cloud variables) is invalidated by the string length restriction theoretically useful for storing text in cloud variables. there are various restrictions though, and the best application for something like this would be a chatroom, which is a completely banned type of project you could also use this to add usernames to cloud variables for various uses
this is the most compact (as far as digits per character goes) method i could find to do this. conceptually this is like mapping each allowed character to a value in base n (where n is however many characters you want to support + 1) and then ordering these based on the input string and converting to decimal