i try to make simple script, who execute:

1.when i post !list , script will scan dir and write in fail and then send me via dcc.

Code:
//echo -ace info2 * Found $findfile($scriptdir/logs,*,0,echo -ac info $1-) file(s)


2. when i post !get file1.log ,script will send me file1.log
maybe something like this:
Code:
ON *:TEXT:!get*:*: {
  ........................
  if ($exists(%log)) {
    dcc send $nick %log
  }


any can help me?

Last edited by lefter0v1; 27/01/08 09:22 AM.