Skript

Skript

743k Downloads

Checking if player is online doesn't seem to work with this method

noySq opened this issue ยท 1 comments

commented

Skript/Server Version

[Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[Skript] Server Version: git-Purpur-2125 (MC: 1.20.4)
[Skript] Skript Version: 2.8.0 (skriptlang-github)
[Skript] Installed Skript Addons: 
[Skript]  - DiSky v4.12.2-beta1
[Skript]  - skript-reflect v2.4 (https://github.com/SkriptLang/skript-reflect)
[Skript]  - SkBee v3.1.0 (https://github.com/ShaneBeee/SkBee)
[Skript] Installed dependencies: None

Bug Description

Using the code below doesn't seem to work, even though the player is online, it says offline. The player receives the message too.

Expected Behavior

It should say the player is online

Steps to Reproduce

command /test [<text>]:
	trigger:
		set {_player} to (arg-1 parsed as offlineplayer)

		if {_player} is online:
			send "ONLINE!" to {_player}
		else:
			send "OFFLINE!" to {_player}

Errors or Screenshots

No response

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
commented

This is a conflict with DiSky. They register a %user% is online syntax that conflicts with Skript's.