Closed sarhatabaot closed 4 days ago
The /chc info is more ridig, but it should work in chat or formats.
If it won't, use "player.isOp() ? true : false" or force string with "player.isOp() ? 'true' : 'false'"
Please review the logs I sent. It does not work in the chat... Also, I tried doing this: "player.isOp() ? true : false" or force string with "player.isOp() ? 'true' : 'false'"
Same result.
For reference, here I'm sending a test message:
And here is the corresponding error: https://paste.gg/p/anonymous/61f80ecc4c4a4c0d9893989234bf7401
Guessing this is actually a conflict with another plugin somewhere..
Turns out it was a conflict with PAPI's player expansion. Sorted.
"/version ChatControlRed" - plugin version
10.27.4
Are you using MySQL?
Yes
Are you using BungeeCord?
No
Error log (if applicable)
https://paste.gg/p/anonymous/6fefcc70fee048da8e354faf57596488
"/chc debug" output (strongly recommended)
Sent via email.
Information about the issue/bug
I have a simple variable, see setup below. When executing via
/chc info script sarhatabaot {player_is_op}
the result is resolved to "yes" instead of "true".