CubeScript (menu) question
#1
Hello, Everyone is IDLE in #cubescript.

So I am creating a quick connect menu for my server.
menuitem "Connect To Server As Admin?"-1
I have that as a item on the menu.
My question is. Is there anyway to make that not an item, but have it displayed. Like embeded in and can't be selected so you only can select "Yes" or "No"?
Thanks given by:
#2
Not possible with the current menu system, sorry.
Thanks given by:
#3
(01 Feb 11, 09:28PM)Bukz Wrote: Not possible with the current menu system, sorry.

OK thanks
newmenu CONNECT_AS_ADMIN
Thats what I just changed it to.
Thanks given by:
#4
(01 Feb 11, 09:29PM)miker95 Wrote: OK thanks
newmenu CONNECT_AS_ADMIN
Thats what I just changed it to.

You can also use
newmenu "Connect as admin?"
You just have to put the name in quotes.
Thanks given by:
#5
is this what you want?
newmenu "connect to server as admin?"
menuitem "yes" [connectadmin <ip> <port> <pass>]
menuitem "no" [connect xxx.xxx.xxx.xxx]
Thanks given by: