Yet again, do you know anything about SCAR scripting?
The most hard part would be making the script do something useful.. Not just run around the place like a idiot, as pest control requires some strategy.. And world switching could be required too, I don't see this kind of a script ever being done.