Like a piper who got ratty when not paid (4)
I believe the answer is:
pied
'like' is the definition.
Both the answer and definition are adjectives. Perhaps you can see a link between them that I don't see?
I don't understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for pied that I've seen before include "Foot over water [in]" , "featuring two colours" , "With patches coloured differently" , "Piper thus portrayed once" , "varying in colour" .)