Just change it to whatever you've identified your object as earlier in the script. So you'd have something like this:
Delete all the colored text and replace it with what it tells your before you compile.
Code:
void main()
{
object o"Delete quotes and put whatever you want here" = GetObjectByTag("YOUR OBJECT'S TAG");
DelayCommand(0.8, AssignCommand(o"Whatever you put in the red above", ActionPlayAnimation(Your animation number, 1.0, How long you want it to run[-1.0 is looping forever])));
}
If it's a looping animation this would be the creature's onSpawn script, but if it's a fire forget animation it'd be in it's heartbeat script.