Well, it stops beacause, your telling it to ignore the case where the character is not a space, I jsut did a mental trace of your code, and it seems that if it cant get through the second while, it cannot increment, and if it cannot increment, the first while is stuck in the same stage, therefore the same stage forever.
EXAMPLE: the string "im baws", when it reaches the ' ' it will not go into the second while, therefore it wont do fast++ and it will always be stuck in the same damn step. Infinite loop.
try:
PHP Code:
while (message[fast] != 0)
{
client_print(0, print_chat, "Its in the while")
new word[300]
while ((message[fast] != ' ') || (message[fast] != 0))
{
word[fast] = message[fast]
client_print(0, print_chat, "reading...")
}
fast++
}
I didnt say anything about the double while, I dont do it but let the man learn one step at a time. (you dont usually have a while inside of a while for a 1 dimensional array only for 2 dimensional arrays).
__________________