Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. ;=================
  2. ; AutoTrade Script
  3. ;=================
  4.  
  5. ; Edit #YOURCHAN to the channel name you are watching to autotrade from
  6. on 1:TEXT:*:#quade {
  7. tokenize 32 $strip($1-)
  8. ; edit YOURBOTNICK to the nickname of the bot that announces site info
  9. if ($nick == quexmen) {
  10. ; O
  11. echo -a a
  12.  
  13. ; TV-x264 SECTION AUTO START
  14. ; TV-x264 section, modify to match format of bots announcements, make sure $X's are changed if needed
  15. if ($istok(done, $gettok($1,-1,33),124)) && (tv-x264 isin $1) {
  16. echo -a $5
  17. ; this is the section name, set it as you wish
  18. var %bdsection = tv-x264
  19. ; this is set to the release folder name automatically, $5 represents the word number in the line of text that contains the release name
  20. var %bdrl = $5
  21. ; name of source site, must match name used in rush
  22. var %sourcename = TC
  23. ; section directory path on source site
  24. var %sourcedir = /tv-x264/
  25. ; name of remote/destination site, must match name used in rush
  26. ; var %curryname =
  27. ; section directory path on remote/destination site
  28. ; var %currydir =
  29.  
  30.  
  31.  
  32. 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
  33. echo -a c
  34.  
  35. if ($istok(%tv-x264,$regsubex($5,/(.+)\.S\d\dE\d\d\..+,\1),124) == $true) {
  36.  
  37. ; start the auto trade, should not need to alter this, but if you wish to the '30' near the end is the refresh count
  38. /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);
  39.  
  40.  
  41. /doautolog 7[12 %bdsection 7] 7[ %bdrl 7] 7[7 %sourcename -> LOCAL 7]
  42. ; TV-x264 SECTION AUTO END
  43. }
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement