Oh I see there is an " 's" to much:
It should be:
Code:
"useabilityonplayer Parent.Target "Jester's Cap"
tell Parent.Target You got a new cap"
It is important, that you use two lines and that you start the second line at the very beginning.