View difference between Paste ID: G7eemk54 and Vcr2tdg0
SHOW: | | - or go back to the newest paste.
1-
command /timeban [<player>] [<text>] [<text>]:
1+
command /timeban <player> <text> <number>:
2
	aliases: /tban
3
	permission: skript.admin
4
	trigger:
5-
		execute player command "/ban %arg 1% あなたは%arg 2%の理由で%arg 3%時間&BANされました"
5+
		ban the player due to "あなたは%arg 2%の理由で%arg 3%時間&BANされました"
6
		broadcast "&6[&4お知らせ&6]&d%arg 1%さんが%arg 2%の理由で%arg 3%時間BANされました"
7-
		wait 1 hours
7+
		set {bantime} to arg 3
8-
		execute player command "/pardon %arg 1%"
8+
		wait "%{bantime}%" hours
9
		unban the player
10
		broadcast "&6[&4お知らせ&6]&b%arg 1%さんのBANが解除されました"