Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;=================
- ; AutoTrade Script
- ;=================
- ; Edit #YOURCHAN to the channel name you are watching to autotrade from
- on 1:TEXT:*:#quade {
- tokenize 32 $strip($1-)
- ; edit YOURBOTNICK to the nickname of the bot that announces site info
- if ($nick == quexmen) {
- ; O
- echo -a a
- ; TV-x264 SECTION AUTO START
- ; TV-x264 section, modify to match format of bots announcements, make sure $X's are changed if needed
- if ($istok(done, $gettok($1,-1,33),124)) && (tv-x264 isin $1) {
- echo -a $5
- ; this is the section name, set it as you wish
- var %bdsection = tv-x264
- ; this is set to the release folder name automatically, $5 represents the word number in the line of text that contains the release name
- var %bdrl = $5
- ; name of source site, must match name used in rush
- var %sourcename = TC
- ; section directory path on source site
- var %sourcedir = /tv-x264/
- ; name of remote/destination site, must match name used in rush
- ; var %curryname =
- ; section directory path on remote/destination site
- ; var %currydir =
- set %tv-x264 House|Heroes|24|Greek|One.Tree.Hill|The.Big.Bang.Theory|Gossip.Girl|How.I.Met.Your.Mother|Two.And.A.Half.Men|Friday.Night.Lights|Private.Practice|90210|American.Dad|Californication|Curb.Your.Enthusiasm|Desperate.Housewives|Perfect.Couples|Entourage|Blue.Mountain.State|Family.Guy|Greys.Anatomy|Melrose.Place|Smallville|South.Park|The.Cleveland.Show|The.Office|The.Office.US|30.Rock|The.Simpsons|Weeds|Scrubs|Chuck|Human.Target.2010|Wipeout.US|Outsourced|Community|The.Event
- echo -a c
- if ($istok(%tv-x264,$regsubex($5,/(.+)\.S\d\dE\d\d\..+,\1),124) == $true) {
- ; start the auto trade, should not need to alter this, but if you wish to the '30' near the end is the refresh count
- /dll rushmirc.dll RushScript RushApp.FTP.Transfer(0, ' $+ %sourcename $+ ', ' $+ %sourcedir $+ ', ' $+ %bdrl $+ ','','F:\TV-HD\', ' $+ %bdrl $+ ', RS_DOWN or RS_DIRDES or RS_DIRSRC, '','', '', '', '([^\w]*100%[^\w]*)|([^\w]*-\sCOMPLETE\s\)[^\w]*)|([^\w]*-\sCOMPLETE\s-[^\w]*)',4,0,0,RS_SORTSIZE or RS_SORTDES,0,2,0);
- /doautolog 7[12 %bdsection 7] 7[ %bdrl 7] 7[7 %sourcename -> LOCAL 7]
- ; TV-x264 SECTION AUTO END
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement