kangarko / ChatControl-Red

Issue tracker and documentation for the next generation ChatControl Red, the most advanced chat management plugin.
43 stars 22 forks source link

Suggestion: Add %receiver% variable for global/javascript #2600

Closed Hatsuharu33227 closed 4 months ago

Hatsuharu33227 commented 4 months ago

Summary

I need this variable to check if player afk with reason then printout like "{receiver} is afking since {my_js_here}" when someone pm t hat player.

P.S EssentialsX's afk

What would happen if we didn't implement this feature? Why not having this feature is a problem?

That is hard to run my javascript for checking {receiver} by adding customer variabe in messages_en.yml.

hasAFKReason(); function hasAFKReason() { return "is afking since %essentials_afk_reason%" }

kangarko commented 4 months ago

This is unsupported due to technical reasons right now unfortunately.