Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

PERMISSION_DEBIT: Can I check if Owner allowed money transfers?

Tomfox Wiranata
Registered User
Join date: 20 Dec 2006
Posts: 80
03-06-2007 11:19
Hi!

I will make it quick!

I sell something. The new owner has to confirm after buying, that the object is allowed to take money from him. Money that needs to be transfered to me.

Can i check if he confirmed or denied it?

thx
Solar Ixtab
Seawolf Marine
Join date: 30 Dec 2004
Posts: 94
03-06-2007 11:33
http://www.lslwiki.net/lslwiki/wakka.php?wakka=llGetPermissions

Something like

CODE

if (llGetPermissions() & PERMISSION_DEBIT)
{
...
}
_____________________
Despite our best efforts, something unexpected has gone wrong.
Deanna Trollop
BZ Enterprises
Join date: 30 Jan 2006
Posts: 671
03-06-2007 11:42
To expand on Solar's response, inside that condition, have it send you an instant message saying "X has granted debit permission", and maybe even an additional else clause stating "X has denied debit permission".
Tomfox Wiranata
Registered User
Join date: 20 Dec 2006
Posts: 80
03-06-2007 14:02
worked....thx :)