-
-
Notifications
You must be signed in to change notification settings - Fork 391
is online/offline not working with variables #4125
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
Comments
Likely addon conflict, probably DiSky, try without it |
One of them has a type named 'onlinestatus', check which |
okay I will let you know as soon as I can. |
Can confirm that it works as expected without addons only TuSKe. (haven't yet found which addon conflict with this)
Can confirm as well. there was a fix for EffDoIf for stopping the whole trigger instead of the line itself in 2.6.0 not sure if this is related. |
I suspected that from the beginning. Is there a way to maybe add a setting in each script to make Skript's vanilla effects, expressions, types etc. have a higher priority than addons? or should I make another suggestion for that? |
They are parsed first, but CondCompare comes before CondIsOnline, so that wouldn't matter here. It would be possible to make CondCompare be attempted last, which would also solve #4123 (comment) |
Indeed that would be good I think. |
Description
using
is online/offline
condition with variables is not working.Steps to Reproduce
set {_p} to player
send "1" if {_p} is online # should send 1 but doesn't send anything
send "0" if {_p} is offline # should send 0 but doesn't send anything
Expected Behavior
Should send 1 if online and 0 if offline
Errors / Screenshots
None
Server Information
Additional Context
The text was updated successfully, but these errors were encountered: