Ulysses Stuff > Ulysses Release Archives

AutoPromote

<< < (16/29) > >>

Aaron113:
K I'll try reversing it later, people in server right now.  I'll let you know if it worked.

JamminR:
Seems I was wrong. Jay's correction from a few posts above yours, shows in order least to greatest.

--- Code: ---HOURS  IS THE POINT OF WHERE THE PLAYER WILL GET PROMOTED TO THE GROUP
NAME IS THE NAME THAT WILL GET DISPLAYED WHEN SOMEONE GETS PROMOTED
]]
promotes = {
{ hours = 1, group = "player", name = "Player" },
{ hours = 2, group = "regular", name = "Regular" },
{ hours = 5, group = "respected", name = "Respected" },
{ hours = 10, group = "highrespected", name = "Highly Respected" },
{ hours = 25, group = "silverplayer", name = "Silver Player" },
{ hours = 50, group = "goldplayer", name = "Gold Player" }
}

--- End code ---

But, it could depend on which version you're using. Several fixes/enhancements/versions exist within these pages.

Aaron113:
I have no idea which I should use.  I am using the latest SVNed version of ULX if that has anything to do with it.  I also just downloaded UTime just a couple days ago.  So maybe there was a change that broke it?

phoenixf129:
I keep getting a re-occuring error:

 ulx\modules/AutoPromote.lua:65: 'then' expected near '='

someone920:
If you guys want, I'll add mine, it's working perfectly. Only thing you have to do is add the last group to the list that won't be promoted... ever.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version