Blockland Forums > Help
How do you use the "If super admin" output?
phflack:
i thought it would be ifvalue, and you need to put the event numbers in the last box?
Chrono:
No.
Snaily:
I think phflack is right actually. IfValue checks the <var:pl:whatever> type stuff, and ifVariable checks actual set variables for the brick / player / client.
And yes, I forgot to mention, you have to enter the scope of the variable check in the last box. If the variable false is event 1 (and that's all it checks), enter "1 1" into the last box.
Snaily:
--- Quote from: Chrono on August 09, 2009, 10:02:47 AM ---No.
ALL checked VariableFalse events will be called when the VCEIfVariable statement is false.
ALL checked VariableTrue events will be called when the VCEIfVariable statement is true.
--- End quote ---
Not the new ones.
Here's some test events using VCE V5. When you click the brick, it tells you whether you're a super admin, a regular admin, or neither.
EVENTS 5
1 0 onActivate Self VCE_ifValue <var:cl:issuperadmin> 0 1 1 2
1 0 onVariableTrue Client CenterPrint You're the super admin. 2
1 0 onVariableFalse Self VCE_ifValue <var:cl:isadmin> 0 1 3 4
1 0 onVariableTrue Client CenterPrint You're an admin. 2
1 0 onVariableFalse Client CenterPrint You aren't a super admin or a normal admin. 4
If you have the event saver, download the attachment and put it in config > client > eventSaves.
Reinforcements:
Thank you everyone, Ill try the suggestions and let you guys know if they worked. Also, i cant find variable v5(does anyone have the link?).