When I get back home I'll have access to test it and will take a quick look. Cause as you say it shouldn't be too hard to do. Also it's easier when I can see it in action and see what's going on (plus I'd also find a solution to this useful!).
One more thing to change (this'll get rid of the error you said about):
Change:
$category_name.txt
To:
randomlinks.txt
Glenn
Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
One more thing to change (this'll get rid of the error you said about):
Change:
$category_name.txt
To:
randomlinks.txt
Glenn
Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml