ON *:TEXT:*:#servit:{ if (TV-XViD isin $3) { ; Set Channel(s) above. ;/////////////////////////////////////////////////////////////////// ;/// ;/// FTPRush Settings ;/// ;/////////////////////////////////////////////////////////////////// ; FTP Site Names - Source and destination var %ftp.site.src = Raven var %ftp.site.dest = tldump ; FTP -> Source and destination paths var %ftp.path.src = /TV-XViD/ var %ftp.path.dest = /TV-XViD/ ; What window to use in FTPRush var %ftp.window = 2 ; 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 ; Ignore Lines/Spam - Seperate items by: | var %CMD.Trigger = NEW|HALFWAY|COMPLETE|RACE|TV|FIRST ; This is !!!REQUIRED!!! var %CMD.Ignore = $null ; Release Groups Stuff - Seperate items by: comma var %Grps.Allowed = LOL,SomeTV,TOPAZ,ANGELiC,River,TCM,FoV,LOKi,FQM,442,SiTV,XViD,kyr ; This is !!!REQUIRED!!! var %Grps.Banned = var %Grps.Banned2 = ;/////////////////////////////////////////////////////////////////// ;/// ;/// Don't touch below ... unless you know what you are doing. ;/// ;/////////////////////////////////////////////////////////////////// var %msg = $strip($1-) ;if (%AUTO_ON_TV-XVID_1_ == 1) { if (((%Bots.Allowed == $null) || ($count($nick, [ %Bots.Allowed ] ) > 0)) && ($count(%msg, [ %Grps.Banned ] ) == 0) && ($count(%msg, [ %Grps.Banned2 ] ) == 0) && ($count(%msg, [ %Grps.Allowed ] ) > 0)) { var %RegEx.Release = (?i)( $+ %CMD.Trigger $+ )[^a-z].*?(([a-z0-9]+[_.\-\(\)]{1,3})+[a-z0-9]*[-][\w]{2,})([\w\/]*|$) var %RegEx.Ignore = (?i)( $+ %CMD.Ignore $+ ) if (((%CMD.Ignore == $null) || ($regex(%msg, %RegEx.Ignore) > 0)) && ($regex(%msg, %RegEx.Release) > 0)) { var %release = $regml(2) $+ $regml(4) if (%release != %Last.Release) { set %Last.Release %release ; Check if it is a sample/subs we are sending. if ($count($regml(4), [ %ftp.dir.nosfv ] ) > 0) { ; If it is a sample then there is no reason to use Retry/Complete-Tag var %ftp.retry.cnt = 0 var %ftp.done.tag = $null } } echo $timestamp 4AutoTrading >> From:[8 $+ %ftp.site.src $+ ] To:[8 $+ %ftp.site.dest $+ ] >>3 %release ;/msg $chan $timestamp 4AutoTrading >> From:[8 $+ %ftp.site.src $+ ] To:[8 $+ %ftp.site.dest $+ ] >>3 %release /window -zk0 @AutoTrade | /aline -p @AutoTrade $timestamp From:[8 $+ %ftp.site.src $+ ] To:[8 $+ %ftp.site.dest $+ ] >>3 %release ; FTPRush - FXP Queue /dll rushmirc.dll RushScript 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); } ;} } } }