I'm trying to create a web sources script for AMG. Unlike the original script, i only am interested in parsing the AMG track picks (those little V signs aside of the track title, usually indicating the most notable/popular tracks of an album).
But I'm no coder and couldn't get my script to work.
This is what I came up with, I tried to make it resemble amg.scr track parser as much as I could.
outputto "comment" findline "<tr class=\"visible\"" do findline "<TD class=\"cell-img\"" 2 moveline 1 if "<img src=\"/i/pages/site/icons/check.gif\" alt=\"AMG Pick\" title=\"AMG Pick\" />" say "Notable" endif findline "></div>" moveline 1 while "<tr class=\"visible\""
It looks fine, but when you try it, it outputs Notable to ALL comment tags the number of times it is indicated, really not what I was aiming for.
For example this album has 3 tracks indicated, so what this script will do is output "NotableNotableNotable" to all tracks, instead of "Noteable" to each indicated track.