Question #677391 on ADCH++ changed:
https://answers.launchpad.net/adchpp/+question/677391

Francisco Blas Izquierdo Riera (klondike) posted a new comment:
Hi Derek,

>From my side it's been a really long time since I last played with
ADCH++ but I think I did this before.

If you check the Entity.h file you'll see the flag definitions for the
different users. These flags are the ones that define whether the user
shows up with a key or not. There are a few more than just OP or nothing
and how the clients display them depends on the clients themselves. You
can use the setFlag method in order to set these flags on the objects.

If you are using the provided lua examples, you'll notice that the flags
are set by the function set_level in access.lua You could probably
handle your flag setting there by modifying the "if level >=
settings.oplevel.value then" line. IIRC these flags only matter on the
client side and the lua scripting will use the entity's level to see
whether the entity should have access to a specific function.

Hopefully this helps you with your problem.

-- 
You received this question notification because your team Dcplusplus-
team is an answer contact for ADCH++.

_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to     : linuxdcpp-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to