How to type `quit` and quit PennMUSH?
-
You can't type
quit
and quit PennMUSH. You must typeQUIT
.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.
-
@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. -
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.
-
@ixokai said in How to type `quit` 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?
-
@skew said in How to type `quit` and quit PennMUSH?:
@ixokai said in How to type `quit` 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.
-
Not tried it in PennMUSH, but you could maybe modify aliascnf.dst with something like
command_alias QUIT quit
-
@ashen-shugar said in How to type `quit` 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?
-
I'll try this on Valorous when i have time to get into the cnf files.
-
@skew said in How to type `quit` and quit PennMUSH?:
@ashen-shugar said in How to type `quit` 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)))]
-
@tinuviel said in How to type `quit` 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 >.>)
-
@auspice said in How to type `quit` 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.
-
@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.
-
@skew said in How to type `quit` 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.
-
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#L58Change it to 'quit' or whatever you want. Recompile. Profit. You don't even lose your current game.
-
@alzie said in How to type `quit` 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
-
@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.
-
@arkandel said in How to type `quit` 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.)