Hi phpfreechat users,
I whould like to have your say about how to handle commands with multiple parameters.
I can give you an example, beni is implementing private conferences so he is working on a new /invite command and on setting up password to channels.
The invite command will have the same syntax as on IRC :
/invite channelname nickname
Now imagine someone with the "Mr Cool" nickname is invited to "My room" channel.
The command to type whould be :
/invite My room Mr Cool
You can see the problem : the space separator between "My room" and "Mr Cool" can't be located... From the computer point of view, the channel name can be "My room Mr" and the nickname "Cool".
One solution is to forbid spaces in channels name and in nicknames.
What do you think about that ? and do you have better ideas to allow user firendly multi parameters in commands ?
regards,