MU Soapbox

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Muxify
    • Mustard

    How to type `quit` and quit PennMUSH?

    MU Code
    10
    17
    1851
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • skew
      skew last edited by

      You can't type quit and quit PennMUSH. You must type QUIT.

      Anyone got a work around? A solution? A something? I was attempting to set a command that would fire off some other something, but I can't figure out what that other something might be.

      @boot <my name here> returns "None of your connections are idle. If you want to quit, use QUIT."

      @fo me=QUIT returns "Huh? (Type "help" for help.)"

      Anyone else got any ideas? This one single thing serious brings me so much stress and RAGE.

      Tinuviel 1 Reply Last reply Reply Quote 0
      • Tinuviel
        Tinuviel @skew last edited by Tinuviel

        @skew I believe it would work if you put the @boot X on an object rather than doing it yourself.
        ETA: Though on the only PennMUSH game I've got on my client, 'quit' works.

        He/Him

        Auspice 1 Reply Last reply Reply Quote 0
        • I
          ixokai last edited by

          I've never understood why people type quit/QUIT and don't just use their mouse to disconnect.

          That said, the ALLCAPSCOMMANDS are special and are processed on a different layer then normal commands, so you can't @fo or queue them. I don't have any suggestions, sorry. ๐Ÿ™‚

          skew 1 Reply Last reply Reply Quote 0
          • skew
            skew @ixokai last edited by

            @ixokai said in How to type &#x60;quit&#x60; and quit PennMUSH?:

            I've never understood why people type quit/QUIT and don't just use their mouse to disconnect.

            What? Really? On some clients, disconnecting from a connected world will give a warning message. Other times, simply disconnecting doesn't seem to send the appropriate "disconnect" information to the server, and so you'll still appear logged in. This results in something like someone paging you and you never receiving it.

            Also who uses a mouse?

            I Arkandel 2 Replies Last reply Reply Quote 1
            • I
              ixokai @skew last edited by

              @skew said in How to type &#x60;quit&#x60; and quit PennMUSH?:

              @ixokai said in How to type &#x60;quit&#x60; and quit PennMUSH?:

              I've never understood why people type quit/QUIT and don't just use their mouse to disconnect.

              What? Really? On some clients, disconnecting from a connected world will give a warning message. Other times, simply disconnecting doesn't seem to send the appropriate "disconnect" information to the server, and so you'll still appear logged in. This results in something like someone paging you and you never receiving it.

              Also who uses a mouse?

              Yeah, seriously. I don't ever type quit. I just disconnect ๐Ÿ™‚ And never run into any issues.

              Granted, I'm also one of those people who might be online weeks at a time.

              1 Reply Last reply Reply Quote 0
              • Ashen-Shugar
                Ashen-Shugar last edited by

                Not tried it in PennMUSH, but you could maybe modify aliascnf.dst with something like

                command_alias QUIT quit
                
                skew 1 Reply Last reply Reply Quote 0
                • skew
                  skew @Ashen-Shugar last edited by

                  @ashen-shugar said in How to type &#x60;quit&#x60; and quit PennMUSH?:

                  Not tried it in PennMUSH, but you could maybe modify aliascnf.dst with something like

                  command_alias QUIT quit
                  

                  Thatโ€™s server side, yes? Nothing I can do player-side?

                  Lotherio Ashen-Shugar 2 Replies Last reply Reply Quote 0
                  • Lotherio
                    Lotherio @skew last edited by

                    I'll try this on Valorous when i have time to get into the cnf files.

                    I'm just a surge protector doing my job, sir.

                    1 Reply Last reply Reply Quote 0
                    • Ashen-Shugar
                      Ashen-Shugar @skew last edited by Ashen-Shugar

                      @skew said in How to type &#x60;quit&#x60; and quit PennMUSH?:

                      @ashen-shugar said in How to type &#x60;quit&#x60; and quit PennMUSH?:

                      Not tried it in PennMUSH, but you could maybe modify aliascnf.dst with something like

                      command_alias QUIT quit
                      

                      Thatโ€™s server side, yes? Nothing I can do player-side?

                      &CMD`QUIT wizobject=$quit:@boot/silent/port [first(iter(ports(%#),if(lte(idle(%i0),1),%i0)))]
                      
                      1 Reply Last reply Reply Quote 0
                      • Auspice
                        Auspice @Tinuviel last edited by Auspice

                        @tinuviel said in How to type &#x60;quit&#x60; and quit PennMUSH?:

                        @skew I believe it would work if you put the @boot X on an object rather than doing it yourself.
                        ETA: Though on the only PennMUSH game I've got on my client, 'quit' works.

                        They may be using some FS3 plugins. I know FS3 has aliased 'quit' to work, which I often appreciated (so if fara pops up, she could prob. explain how she made it work! Likely isn't doable player-side, but you never know).

                        (I'm also one of those dirty people who often just d/c's the world 'cause I'm lazy... tho I've stopped just closing my laptop because some worlds would just reconnect every few hours >.>)

                        Saying the quiet parts out loud since 1996.

                        faraday 1 Reply Last reply Reply Quote 1
                        • faraday
                          faraday @Auspice last edited by faraday

                          @auspice said in How to type &#x60;quit&#x60; and quit PennMUSH?:

                          I know FS3 has aliased 'quit' to work

                          It actually doesn't, because as @ixokai mentioned - you just can't make a softcode command do "QUIT". command_alias doesn't seem to work, presumably for the same reason.

                          Best you can do I think is a WIZ object command that aliases quit to @boot, similar to what @Ashen-Shugar suggested.

                          &cmd-quit wizobject=$quit:@boot %#
                          

                          It tells you you've been booted, which probably isn't quite ideal, but it does disconnect you! Me? I just CTRL-E to close the world ๐Ÿ™‚

                          You might also be able to do a client alias. I tried that in Atlantis and it didn't work, but that was possibly user error. I've never used the alias system before.

                          Sparks 1 Reply Last reply Reply Quote 0
                          • Sparks
                            Sparks @faraday last edited by

                            @faraday By default, to save on mistakes where an alias blocks you from actual game input, Atlantis' aliases require you to put / before them before it'll try to execute them, a'la one of the internal commands (like /log or /clear or such). You can turn that off in Preferences, though.

                            a.k.a. Packetdancer (or "Pax" for short)

                            1 Reply Last reply Reply Quote 2
                            • Arkandel
                              Arkandel Admin @skew last edited by

                              @skew said in How to type &#x60;quit&#x60; and quit PennMUSH?:

                              What? Really? On some clients, disconnecting from a connected world will give a warning message. Other times, simply disconnecting doesn't seem to send the appropriate "disconnect" information to the server, and so you'll still appear logged in. T

                              Yep, and some of us like to connect from multiple clients (say, from home and work) in order to have access to the backlog from both.

                              If I just close the window from either the other connection will stick around. Now, sometimes that's what I actually want, but if I type 'quit' then I know I'm logged off from all my clients.

                              • He who takes offense when not intended is a fool. He who takes offense when intended is a greater fool.
                              skew 1 Reply Last reply Reply Quote 0
                              • Alzie
                                Alzie last edited by

                                Nothing you can do player side. If you want to jab at the source though, it's really easy to change it to quit. There's this whole 'but uppercase commands operate on the socket' reasoning that gets thrown around a lot to justify it. In any case, go here:
                                https://github.com/pennmush/pennmush/blob/6edfb5ab776bc8bccc570a16d6d4117b6bf2f208/hdrs/conf.h#L58

                                Change it to 'quit' or whatever you want. Recompile. Profit. You don't even lose your current game.

                                Alzie's Too Long Playlist

                                faraday 1 Reply Last reply Reply Quote 1
                                • faraday
                                  faraday @Alzie last edited by

                                  @alzie said in How to type &#x60;quit&#x60; and quit PennMUSH?:

                                  Change it to 'quit' or whatever you want. Recompile. Profit. You don't even lose your current game.

                                  Yeah but then QUIT won't work for everyone who's been used to typing it in uppercase for 30 years. Not sure that's an improvement ๐Ÿ™‚

                                  Alzie 1 Reply Last reply Reply Quote 0
                                  • Alzie
                                    Alzie @faraday last edited by

                                    @faraday the only other option is to write a cross platform case insensitive comparison function and then use that in bsd.c, but I got the feeling that wasn't really desired. I'm pretty sure pennmush is the weird one in this respect anyways.

                                    I'm pretty sure if you made a client side alias that transformed quit into QUIT before it got sent that would work.

                                    Alzie's Too Long Playlist

                                    1 Reply Last reply Reply Quote 0
                                    • skew
                                      skew @Arkandel last edited by

                                      @arkandel said in How to type &#x60;quit&#x60; and quit PennMUSH?:

                                      If I just close the window from either the other connection will stick around. Now, sometimes that's what I actually want, but if I type 'quit' then I know I'm logged off from all my clients.

                                      Quit doesn't close all your connections, just the one you're quitting from. At least, that's true of Tiny and Evennia. Penn could be different. (Though, yes, if you are active on another account you don't necessarily need/want the quit effects.)

                                      1 Reply Last reply Reply Quote 0
                                      • 1 / 1
                                      • First post
                                        Last post