Hi John....
It generally means a bit of a pillock - wally - dipstick - plonker - prat - silly billy - dippy doo - an all round silly bu**er.
A person who has done something a bit silly / dizzy / daft/ idiotic.
A Scottish term, but not usually a nasty term.
Ella