Essential Commands

Essential Commands

108k Downloads

Teleport Response commands (`/tpaccept` and such) could default to a LIFO basis if no target was provided

John-Paul-R opened this issue ยท 2 comments

commented

/tpaccept and /tpdeny (and potentially /tpcancel) could default to a LIFO basis if no target was provided (i.e. respond to the latest request, and then the second latest, and so forth).

Originally suggested in #64

commented

Hey, me, Arno has the solution to your concerns with this feature:

https://discord.com/channels/513219024927326211/857077956336943154/1136644601755746335


JP โ€” Today at 8:57 AM

That's being tracked by this: #126

I've held off on adding it because I don't like the idea that you can accidentally accept a request from someone you don't intend to (e.g. your friend, Alex, requests to teleport to you. You type /tpaccept. Your enemy, Steve, requests to teleport to you. You hit Enter, continuing from before. Surprise, Steve is here, RIP your home.

Idk, maybe I just add it as a profile or config option. That's probably the solution.

Arno Keesmand โ€” Today at 8:59 AM

That's why I thought of doing it like home, only assume things if there's 1

JP โ€” Today at 9:00 AM

oh. Wise. yeah that just solves that, doesn't it
good call, that's how it should be done for sure

commented

its not exactly LIFO (it only works if you have a single pending incoming request - which is intentional), but I originally attempted to implement this here 24759df, and I fixed it here: 0d97402.