problem in perl script for opendchub

Discussion in 'Perl' started by Raidenji, Oct 29, 2003.

  1. Raidenji

    Raidenji Guest

    is there a way to hide user input in a script for opendchub?

    the command is just like the me command in IRC.

    but i want to be able to only show the output.

    here is the code i'm using

    } elsif ($command[1] =~ /^[\+-\/]me/i) {

    ($cmd) = ($command[1] =~ /^[\+-\/]me(.*)$/);

    &sendmessage($user,$touser,$type,"<*> $user$cmd $command[-1]");

    }

    thanks.



    Raidenji
     
    Raidenji, Oct 29, 2003
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Wet Basement
    Replies:
    1
    Views:
    2,829
    BobMonk
    Jul 15, 2003
  2. dpackwood
    Replies:
    3
    Views:
    2,175
  3. Raidenji

    opendchub script problem

    Raidenji, Oct 29, 2003, in forum: Perl Misc
    Replies:
    1
    Views:
    196
    Anno Siegel
    Oct 29, 2003
  4. pj
    Replies:
    3
    Views:
    463
  5. Petterson Mikael

    Execute another perl script from my perl script

    Petterson Mikael, Jan 5, 2005, in forum: Perl Misc
    Replies:
    3
    Views:
    285
    Paul Lalli
    Jan 5, 2005
  6. Replies:
    20
    Views:
    1,329
    Gunnar Hjalmarsson
    Jan 18, 2005
  7. Replies:
    6
    Views:
    283
    Tad McClellan
    Apr 14, 2005
  8. vikrant
    Replies:
    4
    Views:
    459
Loading...