// Adapted from a freebie typing AO script
integer keyboard_status = 0;
default
{
state_entry()
{
llRequestPermissions(llGetOwner(),PERMISSION_TRIGGER_ANIMATION);
}
run_time_permissions(integer mask)
{
if(mask & PERMISSION_TRIGGER_ANIMATION)
{
llSetTimerEvent(0.5);
}
}
attach(key attached)
{
if(attached != NULL_KEY)
{
}
}
timer() {
integer are_we_typing = llGetAgentInfo (llGetOwner()) & AGENT_TYPING;
if (keyboard_status != are_we_typing ) { //keyboard_status changed since last checked?
if (are_we_typing)
{
llStopAnimation("type"
;llStartAnimation("typing override"
;llSetTimerEvent(0.25);
}
else
{
llStopAnimation("type"
;llStopAnimation("typing override"
;llSetTimerEvent(0.5);
}
keyboard_status = are_we_typing;//save the current keyboard_status.
}
}
}
Unfortunately i didnt backup a copy of the original script that i used to make a texture muzzle talk script. So im basicly left with this after modifying. My animation is set to priority 4, loop, in% 100 out %100, hand pose typing. Can anyone help me with this?

.