1.

Solve : Unable to use space?

Answer»

For some reason, when I am trying to TYPE a message, I can't use spaces. It just quickly flashes a message then closes.

Here is the code, please try and FIND the solution. I checked where the problem is (or is the first time), and it's in red.

Quote

Problem solved. Code removed.
Wow, a BAT program "school CHAT v3". You make me change my mind about thing batch command can do. I will try to find out your issue.Quote from: tonlo on April 25, 2009, 10:56:56 AM
Wow, a BAT program "school chat v3". You make me change my mind about thing batch command can do. I will try to find out your issue.
Yeah. %SERV% is on a network drive (at school, but not on this one), so people can chat.when typing in messages or anything with spaces, make sure you use quotes.Quote from: macdad- on April 25, 2009, 11:08:27 AM
when typing in messages or anything with spaces, make sure you use quotes.
So, if I enter "To the prompt" it won't crash? Hmm 1 sec.

Nope... still crashes. But in a different spot...And if you use underscore instead of space? Quote from: Geek-9pm on April 25, 2009, 11:30:24 AM
And if you use underscore instead of space?
It's a chat...I can replace an underscore with space, which worked for v1, but that was the reason why I went to v2...to remove that problemt
Sorry for the double post, but I found the solution...but for the security of my script, I must remove it. I just wrapped %msg% and emerg in quotes in the if %msg%==emerg command.right away...


Discussion

No Comment Found