Untitled

 avatar
unknown
plain_text
a year ago
3.6 kB
2
Indexable
effect store string %string% as %string% in [the] (db|database):
    trigger:
        set {_n} to nbt compound from file "plugins/Skript/scripts/SQL/db.nbt"
        set string tag "%expr-2%" of {_n} to expr-1
        save nbt file of {_n} 

effect store int[eger] %integer% as %string% in [the] (db|database):
    trigger:
        set {_n} to nbt compound from file "plugins/Skript/scripts/SQL/db.nbt"
        set int tag "%expr-2%" of {_n} to expr-1
        save nbt file of {_n}

effect store bool[ean] %boolean% as %string% in [the] (db|database):
    trigger:
        set {_n} to nbt compound from file "plugins/Skript/scripts/SQL/db.nbt"
        set boolean tag "%expr-2%" of {_n} to expr-1
        save nbt file of {_n}

effect store double %number% as %string% in [the] (db|database):
    trigger:
        set {_n} to nbt compound from file "plugins/Skript/scripts/SQL/db.nbt"
        set double tag "%expr-2%" of {_n} to expr-1
        save nbt file of {_n}

effect store float %number% as %string% in [the] (db|database):
    trigger:
        set {_n} to nbt compound from file "plugins/Skript/scripts/SQL/db.nbt"
        set float tag "%expr-2%" of {_n} to expr-1
        save nbt file of {_n}

# DELETE

effect delete string %string% from [the] (db|database):
    trigger:
        set {_n} to nbt compound from file "plugins/Skript/scripts/SQL/db.nbt"
        delete string tag "%expr-1%" of {_n}
        save nbt file of {_n}

effect delete int[eger] %string% from [the] (db|database):
    trigger:
        set {_n} to nbt compound from file "plugins/Skript/scripts/SQL/db.nbt"
        delete int tag "%expr-1%" of {_n}
        save nbt file of {_n}

effect delete bool[ean] %string% from [the] (db|database):
    trigger:
        set {_n} to nbt compound from file "plugins/Skript/scripts/SQL/db.nbt"
        delete boolean tag "%expr-1%" of {_n}
        save nbt file of {_n}

effect delete double %string% from [the] (db|database):
    trigger:
        set {_n} to nbt compound from file "plugins/Skript/scripts/SQL/db.nbt"
        delete double tag "%expr-1%" of {_n}
        save nbt file of {_n}

effect delete float %string% from [the] (db|database):
    trigger:
        set {_n} to nbt compound from file "plugins/Skript/scripts/SQL/db.nbt"
        delete float tag "%expr-1%" of {_n}
        save nbt file of {_n}

# GET

expression string %string% from [the] (db|database):
    get:
        set {_n} to nbt compound from file "plugins/Skript/scripts/SQL/db.nbt"
        return string tag "%expr-1%" of {_n}

expression int[eger] %string% from [the] (db|database):
    get:
        set {_n} to nbt compound from file "plugins/Skript/scripts/SQL/db.nbt"
        return int tag "%expr-1%" of {_n}

expression bool[ean] %string% from [the] (db|database):
    get:
        set {_n} to nbt compound from file "plugins/Skript/scripts/SQL/db.nbt"
        return boolean tag "%expr-1%" of {_n}

expression double %string% from [the] (db|database):
    get:
        set {_n} to nbt compound from file "plugins/Skript/scripts/SQL/db.nbt"
        return double tag "%expr-1%" of {_n}

expression float %string% from [the] (db|database):
    get:
        set {_n} to nbt compound from file "plugins/Skript/scripts/SQL/db.nbt"
        return float tag "%expr-1%" of {_n}

# CLEAR

effect clear [the] (db|database):
    trigger:
        set {_n} to nbt compound from file "plugins/Skript/scripts/SQL/db.nbt"
        clear {_n}
        save nbt file of {_n}
Editor is loading...
Leave a Comment