Jump to content
shadowrecon

My Script Updating Method Whatcha think?

Recommended Posts

Still testing but right now works really good. Downloads the most recent version of a script or the user can pick what version they want to download if they wanted to revert to a past version.

[scar]

program UltimateWillowDownloader;

 

const

DownloadVer = '0.0'; //Which version do you wish to download. Leave as 0.0 for latest version.

 

var

CheckVer, URL, DLVer, Latest: string;

 

procedure GetDetails;

begin

DLVer := ' ' + DownloadVer + ' ';

CheckVer := GetPage('http://electron.x10.mx/ub/UB_Ultimate_Willow/Versions.txt');

Latest := Trim(Right(CheckVer, 4));

if (Pos(DLVer, CheckVer) = 0) then

DLVer := Latest;

URL := 'http://electron.x10.mx/ub/UB_Ultimate_Willow/' + Trim(DLVer) + '.txt';

end;

 

procedure DownloadScript;

var

NewFile: Integer;

NewScript: string;

begin

if (GetApplication.MessageBox('Do you wish to continue with the download? ', 'Download UB Ultimate Willow Chopper?', 4) <> 6) then

begin

WriteLn('Download cancelled....');

Exit;

end;

WriteLn('Please accept the SCAR Firewall''s request to allow the new version to be downloaded');

Status('Downloading script and other required files... please wait.');

NewFile := RewriteFile(ScriptPath + 'UB_Ultimate_Willow Ver ' + Trim(DLVer) + '.scar', False);

NewScript := GetPage(URL);

if (NewScript = '') then

begin

WriteLn('Could not get the requested script');

Exit;

end;

 

WriteFileString(NewFile, NewScript);

 

WriteLn('Script successfully downloaded to: ' + ScriptPath + 'UB_Ultimate_Willow Ver ' + Trim(DLVer) + '.scar');

WriteLn('Thank You');

end;

 

begin

GetDetails;

DownloadScript;

end.

[/scar]

Link to comment
Share on other sites

Lyle Rogers from Federal Way was looking for pay to do criminal law dissertation proposal

Roberto Wallace found the answer to a search query pay to do criminal law dissertation proposal


ESSAYERUDITE.COM


http://essayerudite.com/images/banner/500x500.jpg


pay to do criminal law dissertation proposal










professional university cheap essay example
how to work cite a research paper
three prong thesis examples
paying someone to write a research paper
professional literature review ghostwriting site for school
outline for book reports
what is it essay crispin glover
top mba dissertation chapter advice
essay topic internet hindi
what would be a good essay topic
zoology proofreading websites
skills resume childcare worker
cyber ethnography as homework
resume cover letters for education jobs
persuasive essay performance enhancing drug in sports
research proposal topics in biotechnology
custom phd essay proofreading services for school
university of washington application essay
esl problem solving ghostwriters for hire ca
trainee solicitor cover letter sample
custom homework ghostwriting services for mba
charles tillman homework
academic writing warrant
custom scholarship essay writing websites usa
proposal grant cover letter
business plans handbook 2012 how to write a business plan
how to write britpop
best marketing resume templates
ged essay steck vaughn ged series
sample resume for system analyst
do your homework in french
coursework copyright and privacy
cheap letter ghostwriters for hire ca
cover letter samples for job search
write my custom best essay on brexit
thesis binding center
resume ronald
composition dissertation
how to write a covering letter to accompany a cv
pradushan essay in sanskrit
top curriculum vitae ghostwriting for hire for school
child life volunteer resume
how to write concrete poetry
information assurance manager resume examples
custom home work ghostwriters website for college
download resume support firefox
popular masters dissertation advice
pay to do best personal essay on hillary clinton
example of a parts person resume
esl bibliography ghostwriter websites uk
ku scholarship halls essay
continuous writing essay sample
custom speech ghostwriters sites uk
sample cover letter after being laid off
top movie review ghostwriting websites for mba
view resume format
mark kellogg resume
phd thesis on csr
how to write a bill for us congress consideration

outline for writing a business plan
the lonely good company of books essay
top research proposal writer service uk
marzano homework
kitchen design resume
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...