Re: The script for the issuance of items to those who are online

6
It's simple like that:

Code: Select all

foreach(%player in PlayerList) %player.inventoryAddItem(%itemID, %quantity, %quality, %durability, %durability);
But you'll have to wrap it into some routine that runs every hour.
I think I posted one example to add some alignment in official forums here: https://lifeisfeudal.com/forum/alignmen ... 1/#p158603
Using this %player.inventoryAddItem... instead of the %player.changeAlignment... should work.
cron