on script load: if folder "plugins/skript/email" doesn't exists: create folder "plugins/skript/email" if file "plugins/skript/email/e-maile.yml" doesn't exists: create file "plugins/skript/email/e-maile.yml" command /mail [] []: trigger: if argument 1 is not set: send "&a/mail dodaj &c- &aDodaje e-mail!" to player if argument 1 is "dodaj": if argument 2 is set: wf "## E-maile graczy!##" to "plugins/skript/email/e-maile.yml" set "%player%:" to "%arg-2%" in yaml file "plugins/Skript/email/e-maile.yml" send "&aSuccess! &bE-mail zostal dodany opmyslnie! &7(&a%arg-2%&7)"