ID:156361
 
Is it possible to have items in your interface that are not open to everyone who edits the skin at one point or another. I am planning on adding an admin panel and using a window is the easiest/ most visualy appealing option. However i am not sure i want the everyday joe to know all the administrative capabilities of my team.
One way is to, well, entirely disable the ability to modify the interface (therefore not allowing anyone to access the administration console) by setting control_freak.

Another way would be... well, have the administration console but don't let non-administrative users have the ability to use them.
In response to LordAndrew
control_freak seems abit much :D i only want to hide the interface.

As of option two, ofcourse non-admins cant use the verbs. i just dont want them to see them in the first place.

I have thought of a third way though. Ill have the window labels/buttons set to some gibberish and only load the required text when needed.

however hiding the interface w/o control_freak is still preferable to me if anyone knows how...
In response to Rapmaster
Rapmaster wrote:
control_freak seems abit much :D i only want to hide the interface.

As of option two, ofcourse non-admins cant use the verbs. i just dont want them to see them in the first place.

I have thought of a third way though. Ill have the window labels/buttons set to some gibberish and only load the required text when needed.

however hiding the interface w/o control_freak is still preferable to me if anyone knows how...

<small>winset()</small> is what you're looking for.

Don't make an admin panel on the interface editor, make one at runtime.
In response to Neimo
making one with code is a long process and I can make a better one on html with the same ammount brainpower . In the interface editor you click and drag a few buttons... i think it should be a feature in the editor add little padlocks for "classified" windows
In response to Rapmaster
Rapmaster wrote:
making one with code is a long process and I can make a better one on html with the same ammount brainpower . In the interface editor you click and drag a few buttons... i think it should be a feature in the editor add little padlocks for "classified" windows

I went down the same road as you to look for a solution. <small>winset()</small> was it.

client
proc
admin_check()
if(src.key in Admin_List)
winset(src, "Admin", "parent=menu;name=Admin") // the menu
winset(src, "Add_Overlay","parent=Admin;name=\"&Add Overlay\";command=Add-Overlay") // adding the verb to the menu