Depenizen icon indicating copy to clipboard operation
Depenizen copied to clipboard

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

Open ArtifactyNight opened this issue 4 years ago • 3 comments

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

ArtifactyNight avatar Jun 20 '21 11:06 ArtifactyNight

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

mcmonkey4eva avatar Jun 20 '21 23:06 mcmonkey4eva

Aw...

ArtifactyNight avatar Jun 21 '21 03:06 ArtifactyNight

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?

ArtifactyNight avatar Jun 22 '21 05:06 ArtifactyNight