DB-NPC's script, I labeled it as such.
and no, it returns the account of the player not the object. That's when you would use findplayer. I.e:
findplayer(temp.winner).rupees += jackpot;
Rather than having your script award them directly, you could just have the NPC pick a winner and hand out the amount yourself.
There is a way to add to people who are offline though but you should fix your scripts existing problems before you introduce more.
Use my beautifier instead of the level editor, it does a lot more than indenting. Link:
http://fp4.ca/gs2beautifier