This is a script to catch mobs with a snowball. Just insert into scriptsfolder, grab a snowball and throw it on a mob. If you are op you are not charged money but a spawnegg will also not be dropped.
mobcatcher:
type: world
debug: false
mobinject:
- if <player.money> >=...