It's driving me completely crazy. I successfully added a command but I can't get the second to be accepted by the validate submission function....
re = /^\/(!$|announce .+|ban .+|clear$|help$|\?$|ignore|invite .+|join .+|kick .+|me .+|msg .+|to .+|notify$|order$|profile$|promote .+|quit|exit|bye|refresh|save|show|last|timestamp$|game$|whois|connect .+)/i;
gameconnect works flawlessly but game$ is always refused with an "invalid command" message
I also added this in the commands.lib (eregi("^\/game$", $M)) { include("./lib/commands/creategame.cmd.php3");
Can you help me before I shoot myself ?
ok I thought it was the validate function but the error was in my command script...
Sorry
Log in to post a comment.
It's driving me completely crazy.
I successfully added a command but I can't get the second to be accepted by the validate submission function....
re = /^\/(!$|announce .+|ban .+|clear$|help$|\?$|ignore|invite .+|join .+|kick .+|me .+|msg .+|to .+|notify$|order$|profile$|promote .+|quit|exit|bye|refresh|save|show|last|timestamp$|game$|whois|connect .+)/i;
gameconnect works flawlessly but game$ is always refused with an "invalid command" message
I also added this in the commands.lib
(eregi("^\/game$", $M))
{
include("./lib/commands/creategame.cmd.php3");
Can you help me before I shoot myself ?
ok I thought it was the validate function but the error was in my command script...
Sorry