Talk:Money transfer denied

From Second Life Wiki
Revision as of 00:35, 23 February 2008 by Strife Onizuka (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Isn't this already possible by first requesting the permission and then using <lsl>

   run_time_permissions (integer perm)
   {
       if(perm & PERMISSION_DEBIT)
       {
           //normal code if it is granted.
       }
       else
       {
           //code for your transfer denied event
       }
   }

</lsl> What would be the difference? Arda Xi 14:07, 22 February 2008 (PST)

This would be useful for knowing when the account has run out of money. Of course you could send an email to a server with each llGiveMoney, then check the transaction log on the website to see if the match (this could be automated). -- Strife Onizuka 00:35, 23 February 2008 (PST)