SRL Archive - OSR Help

AutoUpdating


Sk1nyNerd

2013-08-04 00:28:57

I've been able to put together an AutoUpdating Procedure by looking at other scripts but im not sure how to setup the Pastebin or GoogleCode for the script to retrieve from. Like how does it know to look at the pages text where the informations at once it gets the page? Any help? *Since ive done it in pastebin already it would be nice to keep it that way :P

OnlineVersion := GetPage('http://pastebin.com/UrkN1mTQ'); 

    NewScript := GetPage('http://pastebin.com/randomstuff'); 
NewFileName := ScriptPath+ 'ibot11s 07 RangeGuilder' + OnlineVersion + '.simba';
NewFile := Rewritefile(NewFileName, true);
writeln('Successfully Updated');

Olly

2013-08-04 00:33:24

Use the raw version http://pastebin.com/raw.php?i=UrkN1mTQ :)

Sk1nyNerd

2013-08-04 00:35:32

From: Olly
Use the raw version http://pastebin.com/raw.php?i=UrkN1mTQ :)


ohhh, nifty! :D thankyou

bob_dole

2013-08-04 00:41:56

From: ibot_dung11
ohhh, nifty! :D thankyou


Otherwise you would need to use the Simba function 'Between' or parse filenames out of the webpage into an array and then retrieve those individually.

Sk1nyNerd

2013-08-04 00:44:37

From: bob_dole
Otherwise you would need to use the Simba function 'Between' or parse filenames out of the webpage into an array and then retrieve those individually.


sounds like a pain lol