Find the word definition

Wiktionary
act the maggot

vb. (context Ireland English) To play around in a foolish or annoying manner.