Ulysses Stuff > Releases

APromote GUI

<< < (2/9) > >>

Lead4u:
I couldn't find any obvious way to get rid of the original message without causing a Lua error, and I didn't like having two messages... if someone here could suggest a way to suppress the console message I'm more than willing to change it.

Megiddo:
ULib.ucl.addUser I believe? The docs are at http://ulyssesmod.net/docs

JamminR:
Bah, Megiddo sniped me while I was typing.
My original response. (Which, is essentially what Megiddo said in so few words)
-------------
Take a copy of the ulx function that you use to modify access (presumably, adduser), localize it (local function myPromote(...) ) pass it the parameters you need yourself, making sure they are checked for validity before being passed (ulx adduser does this already, but, you aren't going to make it a console command like we do)... run the function when needed with passed parameters.
You can edit the fancylog and log statements as needed within your own copy.

Now that I've said that, Megiddo and maybe even MrPresident will have a much simpler solution. :)

Aaron113:
You'll need this and this.

EDIT:  I'll write if up if you need.

sweetone:
Propably fun addon but we don't have working download link. :<

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version