Welcome to SkriptTools.net!

SkriptTools is now part of the skUnity family! skUnity will keep SkriptTools running, updating and adding new features.


- You can now search scripts by author by doing "author:name". For example: "author:nfell2009"

- Login to SkriptTools using your skUnity account to save your favourite scripts and come back to them

Login

Script Viewer

View the code of the script directly in your browser without downloading anything.

Current File: skunitybackup-494.sk - Download / View on the skUnity Parser

#|---------|OPTIONS|---------|#
options:
	prefix: &3[&bNetwork&3]
	error: &3[&bNetwork&3]
	version: 1.0
#|---------|VARIABLES|---------|
variables:
	{coins_.Coins.balance.%player%} = 0
#|---------|COMMANDS|---------|#
command /Coins [<text>] [<player>] [<number>]:
	aliases: /coin
	trigger:
		if arg 1 is not set:
			message "&a/Coins balance <playername>&7-Check how much Coins you got. or other players"
			message "&a/Coins pay <playername> <number> &7-Pay player with Coins."
			if player has permission "coins.admin":
				message "&a/Coins add <playername> <quantity> &7-Give player Coins."
				message "&a/Coins remove <playername> <quantity> &7-Give player Coins."
				message "&a/Coins reset <playername> &7-Reset player's Coins."
		else if arg 1 is "balance" or "bal":
			message "{@prefix} &7You have &a&o%{Coins.balance.%player%}% &7Coins."
			if arg-2 is set:
				message "{@prefix} &a&o%arg-2% &7has &a&o%{Coins.balance.%arg-2%}% &Coins."
				stop
		else if arg 1 is "pay":
			if arg 2 is set:
				if number arg is set:
					if {coins_.Coins.balance.%player%} is less than number arg:
						message "{@error} &cYou don't have that many Coins."
						stop
					else:
						add number arg to {coins_.Coins.balance.%arg-2%}
						remove number arg from {coins_.Coins.balance.%player%}
						message "{@prefix} &7You have paid &a&o%number arg% &7Coins to &a&o%arg-2%."
						message "{@prefix} &7You have recieved &a&o%number arg% &7Coins from &a&o%player%" to arg-2
		else if arg 1 is "add":
			if player has permission "Coins.admin":
				add number arg to {coins_.Coins.balance.%arg-2%}
				message "{@prefix} &7You have gave &a&o%number arg% &7Coins) to &a&o%arg-2%"
			else:
				message "{@error} &cYou don't have permission to run this command."
		else if arg 1 is "remove":
			if player has permission "Coins.admin":
				remove number arg from {coins_.Coins.balance.%arg-2%}
				message "{@prefix} &7You have gave &a&o%number arg% &7Coins to &a&o%arg-2%"
			else:
				message "{@error} &cYou don't have permission to run this command."
		else if arg 1 is "reset":
			if player has permission "Coins.admin":
				if arg-2 is set:
					set {coins_.Coins.balance.%arg-2%} to 0
					message "{@prefix} &7You have reset Coins balance for &a&o%arg-2%"
					message "{@prefix} &7Your Coins balance has been reset." to arg-2