Yeah, those commands were renamed somewhat recently, and in fact, I seem to have forgotten to update some of the lines in the PDF scripts. I'll do that now.
The completed filter script in old version of the guide didn't work because of a couple of small errors I made in it that I fixed in my instance of Dwarf Therapist, but forgot to copy-paste to the guide. If you still need it, here's the complete script:
// hauling test
(d.total_assigned_labors(true) - d.total_assigned_labors(false) == 11) &&
// masonry and stone detailing test
(((d.labor_enabled(13) == true && d.labor_rating(13) < 3) ||
d.labor_enabled(13) == false) || ((d.labor_enabled(12) == true &&
d.labor_rating(12) < 4) || d.labor_enabled(12) == false)) &&
// nickname test
(d.nice_name == "") &&
// military duty test
!d.active_military() &&
// key dwarf test
(!d.labor_enabled(47) && !d.labor_enabled(48) && !d.labor_enabled(29)
&& !d.labor_enabled(11) && !d.labor_enabled(33) && !d.labor_enabled(38)
&& !d.labor_enabled(45) && !d.labor_enabled(50) && !d.labor_enabled(51)
&& !d.labor_enabled(49) && !d.labor_enabled(00) && !d.labor_enabled(53)
&& !d.labor_enabled(46)) &&
// useless labors test
((d.labor_rating(16) > 0 && d.labor_enabled(16)) || d.labor_rating(16) <= 0)
&& // Animal Tr.
((d.labor_rating(43) > 0 && d.labor_enabled(43)) || d.labor_rating(43) <= 0)
&& // Fish Diss.
((d.labor_rating(26) > 0 && d.labor_enabled(26)) || d.labor_rating(26) <= 0)
&& // Animal Diss.
((d.labor_rating(72) > 0 && d.labor_enabled(72)) || d.labor_rating(72) <= 0)
I couldn't get the wax working call to work properly, so I removed it. Not sure if it's a minor bug of some sort, never got around to reporting it when there are bigger fish to fry. No, really. Check my sig.
Splinterz, where do you figure is a good place to set up an exported utilities list? The GitHub repo wiki could be used for it; so could that page on Dwarf Fortress Wiki that I accidentally visited (
http://dwarffortresswiki.org/index.php/Utility:Dwarf_Therapist/Addons_Repository). Since the guide is meant to be static, I'd rather not post it there.