Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Get/Use the name of the command executor #368

Open
Devcom439 opened this issue Jul 22, 2024 · 5 comments
Open

[Suggestion] Get/Use the name of the command executor #368

Devcom439 opened this issue Jul 22, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@Devcom439
Copy link

Describe the feature

-This is for the chat bot.-

It would be soo useful if you can get the name of the person executing the chat bot command.
For example: If I, Joe, would type !hello it would say "Name: Joe" since I put in Name: {player} as response of the chat bot. But if someone else would execute the command it still says "Name: Joe" and not the name of that player.
This absolutely makes sense, but it would make for a great addition since it would make using the bot for commands directed to the executor possible.

-In this example I used the prefix "joe."-:
image
image

As you can see, even if someone else executes the command it still outputs my name.

@Devcom439 Devcom439 added the enhancement New feature or request label Jul 22, 2024
@crazymoose77756
Copy link
Contributor

This issue relates to Starscript itself and not rejects.

@RacoonDog
Copy link
Contributor

This issue relates to Starscript itself and not rejects.

starscript has no context awareness outside of global variables, in this case it’d be reject’s job to set the relevant temporary variables

@crazymoose77756
Copy link
Contributor

This issue relates to Starscript itself and not rejects.

starscript has no context awareness outside of global variables, in this case it’d be reject’s job to set the relevant temporary variables

makes sense yes,
i believe i initially misread initial post

@Devcom439
Copy link
Author

This issue relates to Starscript itself and not rejects.

I initially created my issue there, but it got immediately closed, since "Starscript has nothing to do with Minecraft"

@crazymoose77756
Copy link
Contributor

This issue relates to Starscript itself and not rejects.

I initially created my issue there, but it got immediately closed, since "Starscript has nothing to do with Minecraft"

You are, i misread the initial post. @RacoonDog pointed out the template for the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants