mIRC Homepage
Posted By: sandygws Question about an auto trading script - 25/01/13 02:14 PM
Hi all,

I'm trading some sites using mirc with RushFTP,but I'm unsure how to add site chains to the script, so that site1:site2 will become site1:site2:site3:site4:site5 etc

Here's the working script now:


Quote:

var %section = TV-720p
var %rl = $3
var %sourcename = Site1
var %sourcedir = /incoming/tv720p/
var %curryname = Site2
var %currydir = /tv-x264/

; skip list, anything matched here will be skipped and not traded
if (INTERNAL isin %rl) || (The.Amazing.Race isin %rl) || (Kitchen isin %rl) {
; add a semi-colon in front of /doautolog to disable logging skipped trades
;/doautolog 7[ 012 %section 7] 7[ %rl 7] 7[ 9 %sourcename -> %curryname SKIPPED 7]
return
}
/doautolog 7[ 12 %section 7] 7[ %rl 7] 7[ 7 %sourcename -> %curryname 7]

/dll rushmirc.dll RushScript RushApp.FTP.Transfer(0, ' $+ %sourcename $+ ', ' $+ %sourcedir $+ ', ' $+ %rl $+ ', ' $+ %curryname $+ ', ' $+ %currydir $+ ', ' $+ %rl $+ ', RS_DIRDES or RS_DIRSRC or RS_LOGOUT or RS_CHECKLOGIN, '','', '', '', '([^\w]*100%[^\w]*)|([^\w]*-\sCOMPLETE\s\)[^\w]*)|([^\w]*-\sCOMPLETE\s-[^\w]*)',5,0,0,RS_SORTSIZE or RS_SORTDES,0,2,0);

return
}



How can I modify it to do more than simply send from site1/source to site2:destination .. and to be able to chain sites.
© mIRC Discussion Forums