Parsed As Type (Expression) — SkCheese

Addon: SkCheese · Category: Expression · Since: 1.1

Syntax

%string% parsed as type %~classinfo%

Description

Parse a string as a type. The type can be a non-literal unlike vanilla Skript.

Examples

set {_c} to class info of {variable}
set {_new.value} to {_input} parsed as type {_c}
if {_new.value} isn't set:
  send "Please make sure the input is the same type as the old value." to player
  stop
set {variable} to {_new.value}

View source