Welcomer_V1.sk

Created by ShyDoge

Just so you know, we don't know the file format for every file. If it's just a bunch of random characters, it's probably a .zip or .jar.

# Welcomer
# Made by Goose#0484
# COLOR CODES WORK :)
options:
	version: 1


command /welcomemessage [<string>]:
	permission: welcome.setmessage
	trigger:
		if arg-1 is not set:
			send "&8[&bWelcomer&8]&f There is no longer a welcome message!" to executor
			delete {welcomer.welcomemessage}
		else:
			send "&8[&bWelcomer&8]&f You have set the welcome message! To preview the message, type ""/preview""" to executor
			set {welcomer.welcomemessage} to arg-1
command /preview:
	permission: welcome.preview
	trigger:
		send formatted {welcomer.welcomemessage}
		send "&8[&bWelcomer&8]&f This is you current welcome message. To change it, type ""/welcomemessage (New Message)""" to executor
on join:
	if {welcomer.welcomemessage} is set:
		loop 50 times:
			send "" to player
		send formatted {welcomer.welcomemessage}
command /welcomer:
	trigger:
		send "&8[&bWelcomer&8]&f Running on version 1"
		send "    &f- Made by Goose##0484"
		send "    &f- Found a bug? Report it in our discord."
		send "&8[&bWelcomer&8]&f Download this resource at ""https://forums.skunity.com/resources/authors/shydoge.17576/"""