Jump to content

How can I check if L$ comes from Agni or Aditi?


desiraeeee Endrizzi
 Share

You are about to reply to a thread that has been inactive for 4698 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Hello there,

 

Thank you in advance for reading this message. 

I have an object:  when someone pay it, it does something(ex. send a texture), but before doing that, it should check if the L$ comes from Production Grid(Agni) or Aditi. Is that possible? And how can I do?

 

Thank you very much again.

Regards.

 

Link to comment
Share on other sites

Let's say I have an object in my inventory which checks a SQL database when rezzed/worn. If "payment-status" in database is 1, then that object does nothing(I've already got the payment). If "payment-status" in database is 0, then the object ask DEBIT_PERMISSION to its owner and pay me. If that person use the object in Agni, then it's ok - I get the L$ and "payment-status" change from 0 to 1. But if he/she use it in Aditi, I do NOT get L$ but "payment-status" change from 0 to 1 anyway. So the object has to check whether the L$ comes from Agni or Aditi. 

Sorry for my English :)

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4698 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...