This script will grab the latest releases from the
NFOrce website.
You can retrieve a list of the latest releases regardless of their category, or retrieve the releases of a given category (ie: Game ISOs).
New in 4.3: Small correction (thanks AdamC) to prevent releases being loaded from the browser cache.
New in v4.2:The <nuked> "smart tag" has been added and now the script is able to show if the release is nuked or not. The usage is simple, just as the other tags like <date>, <group> etc.. You also have to set MSG_NUKED to whatever you want to be shown when the release is nuked, a simple message like *N*, *NK* or *NUKED*. When the release is not nuked nothing will appear.
Installation:Simply unzip the
DeMo-NFOrce.vbs file to your Samurize\Scripts folder.
Configuration:Open up the script in notepad and you will see the CONFIGURATION section.
NFORCE_ADDR: this is the URL to NFOrce's website. You don't need to change it.
NO_FILTERED: this is a message that will be shown if none of the retrieved releases passed your filter settings.
MSG_NUKED: sets the text that will appear when a release is marked as being nuked.
RELEASE_FORMAT: this sets what info (date, size, group name etc..) should be displayed and also sets text formatting (decoration). There's more help in this part inside the script telling how you should set it.
Usage:Add an ActiveScript to your config and select DeMo-NFOrce.vbs in the script selection box. Then select a function in the function box based in what you want to retrieve (Game ISOs, TV-RIPS, DivX etc..).
This new version is a bit different from past ones. When you select a function the script will ask you for two parameters:
NUMBER_OF_RELEASES: type in the number of releases you want the script yo get. Example: 3, 5, 10.. you choos. The maximum is 60.
Filter: The second parameter. This one is
optional. Let me explain how it works: let's say you're a fan of Simpsons, South Park and Friends.. and you want the script to show ONLY TV-RIP releases that have the words "simpsons", "south park" or "friends" in the title. This is what the filter is used for, the script will display only the releases that matched your filter(s).
If you don't want any filters.. leave the box
empty!
Leaving it blank will make the script work like the old versions: it will simply retrieve information (title, size, group, date...) about the latest releases and will display everything!
Now comes the important part... if you want to filter only Simpsons releases all you have to do is type "simpsons" (
without the quotes) in the box. Nice.. but you're a fan o Simpsons and South-Park.. so you need to use multi-filters! This is simple, just separate the filters with the
| character, like this: "simpsons|south park" (again,
without the quotes!)
You can have as many filters as you want. Just separate them with the | character. Here's another example: simpsons|friends|jackass|south park.
One more thing to add. If you set NUMBER_OF_RELEASES (the first parameter) to 5.. the filter will be applied ONLY in the titles of the 5 retrieved releases. If you set to 10.. the script gets the latest 10 releases of that category and applies the filter in their titles.
Increasing NUMBER_OF_RELEASES will increase the chances that something is filtered, specially if the category (like TV-RIPS) is updated constantly. Let's say you set NUMBER_OF_RELEASES to 1 and your filter to "simpsons" and set the script to execute each 60 minutes. In 60 minutes there can be a lot of new releases, there's a big change that in these 60 minutes there was a Simpsons release... and then came a Friends release, since you are grabbing just the last release (NUMBER_OF_RELEASES = 1).. you would miss the Simpsons one. What I want to say is that increasing NUMBER_OF_RELEASES will give the script more titles to filter and will reduce the chances of missing a release... but have in mind that this will also increase the script execution time as it will have more work (search for every filter in every release title). So.. if you wanna use filters, choose your NUMBER_OF_RELEASES wisely!! Try to base it on how often the category is updated, take Game ISOs for example, it's not updating every time so you could get just the latest 5 releases to filter. As for TV-RIPS (which is frequently update) you will need a higher NUMBER_OF_RELEASES.. let's say 10 or 15.
Enough writing!
If you need help, just post on the forums or drop me a PM.
Thanks:Big thanks to
randomizer for the great idea of the filters!! It added a lot more functionality to the script
If you like this script, please vote/comment.
Have fun!
