Menu

ValidateSubmission problem

Help
Anonymous
2001-08-07
2012-09-14
  • Anonymous

    Anonymous - 2001-08-07

    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 ?

     
    • Anonymous

      Anonymous - 2001-08-07

      ok I thought it was the validate function but the error was in my command script...

      Sorry

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.