ID:271834
 
I made a login with 4.0's new interface system, only problem is once you click one thing the previous window does not close, thus one could take advantage and change their attributes mid game. I could most likely code away around this, but i was wondering if there was a way to close the window.
by the way the windows show like this:
winshow(usr,"Mission")
winshow(usr,"Mission",0)


As it says in the DM Reference, when the last argument is 0, it'll be hidden... otherwise it'll show
In response to GhostAnime
So to make a button on the window close itself i would have a button execute a verb, and then code the verb like so:
mob/verb/Done
set hidden=1
winshow(usr,"Mission",0)

And if here is an easier way plese show me =D