|
chamenas Wizard
Joined: 26 Mar 2008 Posts: 1547
|
Posted: Fri Dec 12, 2008 7:26 pm
Problem with #close |
Code: |
<alias name="quit" id="200">
<value>#SENDRAW quit
#DISCONNECT
#CLOSE @session</value>
</alias>
|
I wanted the window to close whenever I typed quit to the MUD since the disconnect isn't instantaneous from the MUD upon exit which means I still have to disconnect and close the window manually. It worked perfect, except that when I went to reopen the session it opened for a brief second and then closed again, giving me a list of sessions just like when you start it up. Can anyone help me out here? |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Dec 12, 2008 8:00 pm |
The problem is that #CLOSE marks the window as no longer visible, which is saved in your session. #CLOSE was intended for closing child capture windows, and the capture windows remain closed when you reopen the session. It wasn't intended for closing the main session window. I'll add this to the wish-list for the future so that you cannot permanently close the main session window.
|
|
|
|
chamenas Wizard
Joined: 26 Mar 2008 Posts: 1547
|
Posted: Fri Dec 12, 2008 8:47 pm |
Yay, thanks. It would certainly help if the MUD simply severed the connection entirely upon quit. I noticed a MUSH I played does that, but oh well.
|
|
|
|
|
|