on script load: set {customdrops.version} to "1.0" send "&9&lCustom Drops &8| &7Loading skript v%{customdrops.version}%..." to console set {_customdrops.version.web::*} to contents from url "%uncolored ""https://pastebin.com/raw/7BS83qtA""%" wait 3 ticks if yaml value "Config.notifyUpdates" from "customdrops-config" is true: if {_customdrops.version.web::1} is not {customdrops.version}: send "&9&lCustom Drops &8| &7There is a new version, download it at &7&nDC" to console on script unload: send "&9&lCustom Drops &8| &7Deleting skript files.." to console on load: if file "plugins/CustomDrops/config.yml" doesn't exist: wait 6 ticks send "&9&lCustom Drops &8| &7Creating config files...." to console load yaml "plugins/CustomDrops/config.yml" as "customdrops-config"