Live Chat kick command socket.io
h
PixelNinja (309)

Hi,

i have been working out a kick command and have almost finished, the only problem I am having is on client side where name variable is blank. If you see in client/main.js line 89 to 97, this is where the client is comparing their name to the person being kicked, the only problem is that name on the clientside is blank. if you type kick %insertnamehere% then everyone in the chat will message the name of the person being kicked. just wont compare it to there own name. Any ideas why name is blank?
https://repl.it/@RossJames/Simple-Live-Chat

Thank!

You are viewing a single comment. View All
Answered by Geocube101 (623) [earned 5 cycles]
View Answer
duck132912 (210)

is says

repl.it refused to connect