so far, I have this: (sorry for not making a code section in the post, but have NO idea of how to do that)
-------------------------------------------
default
{
on_rez(integer total_number)
{
state new;
}
}
state new
{
state_entry()
{
llSay(0,"let it FALL!!!"
;llListen(0,"",NULL_KEY, ""
;}
listen(integer channel, string name, key id, string message)
{
if(message=="earthquake"

{
llSetStatus (STATUS_PHYSICS, TRUE);
llRequestPermissions(llGetOwner(), PERMISSION_CHANGE_LINKS);
run_time_permissions(integer perm)
{
if(PERMISSION_CHANGE_LINKS & perm) //should "perm" be "perm" or "128"?
{
llBreakLink( -4 );
}
}
state default;
}
else
{
state default;
}
}
}
------------------------------------
when I try to compile, the editor tell me there is an error at the "run_time_permissions" line, both with "perm" set to "perm" and to "128"...
that is the first problem, as I can't figure out what the error is.
The second problem, is that the object is not ment to be asking permission before activating the earthqake, so is there anyway to give it permission automatically?
Hope you can help, couse I'm pretty stuck!
-Stephen Delcon
