Good morning all.
I cannot establish a law which will reward the players for their presence on the server, that is to say given to them each day by a certain sum (example: 10 Ecu $) but only to those who are connected.
Example of my law which repeats in alas loop.
-------------------------
Attendance allowance
-------------------------
[{"OnPlayerAction":{"Actions":[
{"Action":"Play","Query":{"Time":
{"Operator":"GreaterThan","CompareTo":"CurrentTime"}}}],"Result":
{"Allocate":{"Amount":{"Constant":10},"Currency":"Ecu$"}}}}]
-----------------------------------------------------------------------
You will receive 10 Ecu $ per day, by your presence on the server.
-----------------------------------------------------------------------
Thank you in advance for your help.