Menu

Extra command

2001-06-17
2012-09-14
  • Edwin van Vliet

    Edwin van Vliet - 2001-06-17

    I have tried to create an additional command that would send a message without a name and in the system color.
    I have created a secret.cmd.php3 file based on the me.cmd.php3 file.
    I have included the end of my commands.lib.php3 file, i inspired the /secret command on the /me command.
    ------------------------------------------------
    elseif (eregi("^\/me[[:space:]](.*)?$", $M, $Cmd))
    {
        include("./lib/commands/me.cmd.php3");
    }
    elseif (eregi("^\/god[[:space:]](.*)?$", $M, $Cmd))
    {
        include("./lib/commands/god.cmd.php3");
    };
    ?>
    -------------------------------------------------
    Why do i receive a message: command doesn't exist?

     
    • Loïc Chapeaux

      Loïc Chapeaux - 2001-06-18

      Hi!

      There is a quick validation procedure written in javascript and you have to update it also.
      See the function "validateSubmission()" in 'chat/lib/index.lib.php3'

      Regards,
      Loc

       
    • Edwin van Vliet

      Edwin van Vliet - 2001-06-18

      Hi Loc!

      Thanks alot, I would like to try and help you with ideas or add-ons, I like your work alot, thank you for sharing it for free.

      Regards,
      Cheatah

       
      • Loïc Chapeaux

        Loïc Chapeaux - 2001-06-19

        Hi!

        >I would like to try and help you with ideas or
        >add-ons

        Please do it, of course :)

        >I like your work alot, thank you for sharing it
        >for free.

        It's our pleasure (our because I'm not the only one working on that script ;))

        Regards,
        Loc

         

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.