Single active check that generates multiple services

ok.

I want to have this script as an active check from the cmk server to check a website and create multiple items/services within given host. How do I get what I want?

Output, location, how to call it cann all be changed.