LSL
key sitter = llAvatarOnSitTarget( );
if(sitter) {
// Do stuff
}
This is probably one of the most used "hack" / "hidden features" of lsl.
Would be amazing if lua could have it too
Lua
Maybe something like this
local sitter = ll.AvatarOnSitTarget()
if sitter.isValid() then
-- Do stuff
end