cherrys So, I'm trying to make a chat but setkeyvalue is giving me a weird error when i try to set the username for a user with their id can anybody help me.....
Ravage cherrys Ah, that would be the getUserId(). You need to make sure to use encodeURIComponent on it, to avoid backslashes. So, the code would be setKeyValue("username"+encodeURIComponent(getUserId()), username).