client/verb/chatroomwindow()
set hidden = 1
winshow(src, "main-window", "show=0")
winshow(src, "ooc-chatroom-screen", "show=1")
..()
Problem description: In an earlier project I used this same code in order to make windows from the interface appear and disappear. The window ID name is accurate, and the window "ooc-chatroom-screen" is invisible inside the interface. Neither the "main-window" or "ooc-chatroom-window" cooperate as they are set to do.
The command is set on a button in the "main-window" with the command in the bar, "chatroomwindow" as the command to be executed when the button is pressed, and it is not set to disabled.
The last variable to be entered into winshow() should be a num, not a text string.
The num is either zero to hide the control/window, or ANY other number to show the control/window.