in this case this solution:
integer CHANNEL_HUD = -32423652;
default
{
state_entry()
{
llListen(CHANNEL_HUD, "", NULL_KEY, "");
}
listen( integer channel, string name, key id, string msg)
{
if(channel == CHANNEL_HUD)
{
string touchid = (string)llGetObjectDetails(id, [OBJECT_OWNER]);
string ownerid = llGetOwner();
if(ownerid == touchid)
{
//your script
}
}
}
}