|
Kalie Beginner
Joined: 23 Jun 2008 Posts: 22
|
Posted: Mon Jan 26, 2009 10:32 pm
#CMD Disconnect - How do I deal with the popup window from the command line? |
I would like to be able to disconnect from the command line (so I can trigger it, ect.).
#CMD Disconnect
or
#MENU {File|Disconnect}
starts the process but then I get a popup window called Confirm (Yes, No, Cancel), which I haven't been able to deal with from the command line.
I've tried:
#CMD Disconnect;#CMD Yes
#CMD Disconnect;#MENU {Confirm|Yes}
#CMD {Disconnect|Yes}
And a few other variations. Any ideas? Thanks guys. |
|
|
|
gamma_ray Magician
Joined: 17 Apr 2005 Posts: 496
|
Posted: Mon Jan 26, 2009 11:19 pm |
You can toggle autoconnect off in the preferences, or you can toggle it scriptually using
#call %pref(AutoConnect, 0)
and
then #call %pref(AutoConnect, 1) to reset it when you're done. (Possibly set autoconnect on in an onconnect event, and then disable it in your disconnect alias.)
Edit: Although if your game has a command like "quit" it's easier to just trigger the line received when you quit on purpose to turn off autoconnect, and then use quit to, well, quit. |
|
|
|
Kalie Beginner
Joined: 23 Jun 2008 Posts: 22
|
Posted: Mon Jan 26, 2009 11:22 pm |
That's not quit the problem I'm having although I think I'll end up using some of that. :)
Try the command #CMD Disconnect
And then you'll see my problem. There's a popup window that I haven't been able to "answer" from the command line. |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Tue Jan 27, 2009 12:54 am |
You want the #DISCONNECT command.
|
|
_________________ Asati di tempari! |
|
|
|
Taz GURU
Joined: 28 Sep 2000 Posts: 1395 Location: United Kingdom
|
Posted: Tue Jan 27, 2009 1:52 am |
Is that a Zugg original do you think? I'm inclined to think that Vijilante must have been a bear with a sore head during the help document rewrite. |
|
_________________ Taz :) |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Jan 27, 2009 3:20 am |
That's a Zugg original ;)
|
|
|
|
Taz GURU
Joined: 28 Sep 2000 Posts: 1395 Location: United Kingdom
|
Posted: Tue Jan 27, 2009 4:37 am |
Excellent! Good skills!
|
|
_________________ Taz :) |
|
|
|
Kalie Beginner
Joined: 23 Jun 2008 Posts: 22
|
Posted: Tue Jan 27, 2009 2:29 pm |
Thanks guys! That works perfectly.
|
|
|
|
|
|