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

TownyChat tags to check player chat channel which is currently is in. #366

Open
ArtifactyNight opened this issue Jun 20, 2021 · 3 comments

Comments

@ArtifactyNight
Copy link

ArtifactyNight commented Jun 20, 2021

Example: <PlayerTag.townychat.current_channel> (ElementTag)
so I'm trying to ask Developer who made Towny. He said it's can do this when using AsyncChatHookEvent

<PlayerTag.townychat.channels> is return the list which chat channel I can see but i don't want to get that i want to get only the channel which i currently is in.

can you add this tag please? 🥺

image

@mcmonkey4eva
Copy link
Member

AsyncChatHookEvent as you can probably guess from the "Event" on the end of that: that's an event, not something that can be put in a tag. There might be a way to read it outside the event though

@ArtifactyNight
Copy link
Author

Aw...

@ArtifactyNight
Copy link
Author

Then is it possible to make a new event like.. on player town chats: and add context tag like context.channel to return what channel player typing in?

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

No branches or pull requests

2 participants