Skip to content

Unix convert [ERROR] #49

@sOxTw

Description

@sOxTw

I'm trying to take the UNIX values ​​from PEX DB, the problem is not that, but when using:

skutil convert unix {_rank} as date or skutil convert unix {_rank} to date

The following error marks me.

[20:41:00` INFO]: [Skript] Reloading Unix.sk...
[20:41:00 ERROR]: Can't understand this condition/effect: skutil convert unix {_rank} to date (Unix.sk, line 15: skutil convert unix {_rank} to date')
[20:41:00 INFO]: [Skript] Encountered 1 error while reloading Unix.sk!

[20:41:06 INFO]: [Skript] Reloading Unix.sk...
[20:41:06 ERROR]: Can't understand this condition/effect: skutil convert unix {_rank} as date (Unix.sk, line 15: skutil convert unix {_rank} as date')
[20:41:06 INFO]: [Skript] Encountered 1 error while reloading Unix.sk!

Code:

command /check [<text>]:
	trigger:
		set {_arg} to arg 1
		set {_rank} to the first element out of objects in column "value" from result of query "SELECT * FROM `permissions` WHERE `permission` = 'group-%{_arg}%-until'"
		# send "Unix: %{_rank}%"
		skutil convert unix {_rank} as date
		# send "Data: %{_rank}%"
		stop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions