All pastes #765845 Raw Edit

Stuff

public text v1 · immutable
·published 2007-11-08 12:17 UTC
rendered paste body
   if (%ftp.path.src) {
      ; Set Channel(s) above.
      ;///////////////////////////////////////////////////////////////////
      ;///
      ;///   FTPRush Settings
      ;///
      ;///////////////////////////////////////////////////////////////////
      ; FTP Site Names - Source and destination
      var %ftp.site.src   = $source
      var %ftp.site.dest  = $destination

      ; FTP -> Source and destination paths

      ; What window to use in FTPRush
      var %ftp.window     = 1


      ; Retry count - Use with 'Complete Tag'.
      var %ftp.retry.cnt  = 10

      ; Complete Tag on Destination. (Use PERL - RegEx Patterns)
      var %ftp.done.tag   = ([^\w]*100%[^\w]*)|([^\w]*-\sCOMPLETE\s\)[^\w]*)|([^\w]*-\sCOMPLETE\s-[^\w]*)

      ; Folders that don't have or need completion tag.
      var %ftp.dir.nosfv  = Sample,Subs

      ;///////////////////////////////////////////////////////////////////
      ;///
      ;///   Settings / mIRC / Release
      ;///
      ;///////////////////////////////////////////////////////////////////
      ; Trigger only on these Bots - Seperate items by: comma
      var %Bots.Allowed = SiTEBOT

      var %release = $5

      ;///////////////////////////////////////////////////////////////////
      ;///
      ;///   Don't touch below ... unless you know what you are doing.
      ;///
      ;///////////////////////////////////////////////////////////////////

      /dll rushmirc.dll RushScript $strip(RushApp.FTP.Transfer( $+ %ftp.window $+ , ' $+ %ftp.site.src $+ ', ' $+ %ftp.path.src $+ %release $+ ', '', ' $+ %ftp.site.dest $+ ', ' $+ %ftp.path.dest $+  %release $+ ', '', RS_DIRDES or RS_DIRSRC, 0, '', '', '', ' $+ %ftp.done.tag $+ ', $+ %ftp.retry.cnt $+ , 0, 0, 0, 0, 1, 0));

    }
  }
}