Just type the decimal number and then type the base you want to convert it to. If you do need this, use the backpack and take the SPRITE, not the script, otherwise you will have to make new variables.
Feel free to remix if you want this for anything. When the base is more than 36, this with add a space between each letter. Also, I need to add more digits to the list.