What's suppose to happen:
Clicking the - button will create a "minimize" effect by causing chat-label, mini-button (the one with "-" in it), output, and chat-input to have their is-visible parameter set to false.
Additionally, mini-button2 now has its is-visible parameter set to true. It is placed in the bottom left-hand corner of the screen.
However, in the web client it does not do this for all of the elements. Here, I am about to click mini-button.
Here, you can see the result. It only changes output and you can't see the mini-button2.
Here's the code that changes everything:
mob
player
var
miniChat = 0
verb
MiniChat()
set hidden = 1
if(miniChat)
winset(usr, "main.mini-button", "is-visible=true")
winset(usr, "main.mini-button2", "is-visible=false")
winset(usr, "main.chat-label", "is-visible=true")
winset(usr, "main.output", "is-visible=true")
winset(usr, "main.chat-input", "is-visible=true")
miniChat = 0
return
if(!miniChat)
winset(usr, "main.mini-button", "is-visible=false")
winset(usr, "main.mini-button2", "is-visible=true")
winset(usr, "main.chat-label", "is-visible=false")
winset(usr, "main.output", "is-visible=false")
winset(usr, "main.chat-input", "is-visible=false")
miniChat = 1
return