Untitled

mail@pastecode.io avatar
unknown
plain_text
5 months ago
3.8 kB
4
Indexable
options:
	default: "", ""
	hero: "", ""
	premium: "", ""
	mythisch: "", ""
	content-creator: "", ""
	royal: "", ""
	ultimate: "", ""
	imperator: "", ""
	serverbooster: "", ""
	sup: "", ""
	manager: "", ""
	builder: "", ""
	mod: "", ""
	dev: "", ""
	owner: "", ""

on send command list:
	if player doesn't have permission "cmd.see.*":
		stop
	if player has permission "cmd.see.default":
		loop command list:
			if loop-value is {@default}:
				remove loop-value from command list
	if player has permission "cmd.see.hero":
		loop command list:
			if loop-value is {@default}, {@hero}:
				remove loop-value from command list
	if player has permission "cmd.see.premium":
		loop command list:
			if loop-value is {@default}, {@hero}, {@premium}:
				remove loop-value from command list
	if player has permission "cmd.see.mythisch":
		loop command list:
			if loop-value is {@default}, {@hero}, {@premium}, {@mythisch}:
				remove loop-value from command list
	if player has permission "cmd.see.content-creator":
		loop command list:
			if loop-value is {@default}, {@hero}, {@premium}, {@mythisch}, {@content-creator}:
				remove loop-value from command list
	if player has permission "cmd.see.royal":
		loop command list:
			if loop-value is {@default}, {@hero}, {@premium}, {@mythisch}, {@content-creator}, {@royal}:
				remove loop-value from command list
	if player has permission "cmd.see.ultimate":
		loop command list:
			if loop-value is {@default}, {@hero}, {@premium}, {@mythisch}, {@content-creator}, {@royal}, {@ultimate}:
				remove loop-value from command list
	if player has permission "cmd.see.imperator":
		loop command list:
			if loop-value is {@default}, {@hero}, {@premium}, {@mythisch}, {@content-creator}, {@royal}, {@ultimate}, {@imperator}:
				remove loop-value from command list
	if player has permission "cmd.see.serverbooster":
		loop command list:
			if loop-value is {@default}, {@hero}, {@premium}, {@mythisch}, {@content-creator}, {@royal}, {@ultimate}, {@imperator}, {@serverbooster}:
				remove loop-value from command list
	if player has permission "cmd.see.sup":
		loop command list:
			if loop-value is {@default}, {@hero}, {@premium}, {@mythisch}, {@content-creator}, {@royal}, {@ultimate}, {@imperator}, {@serverbooster}, {@sup}:
				remove loop-value from command list
	if player has permission "cmd.see.manager":
		loop command list:
			if loop-value is {@default}, {@hero}, {@premium}, {@mythisch}, {@content-creator}, {@royal}, {@ultimate}, {@imperator}, {@serverbooster}, {@sup}, {@manager}:
				remove loop-value from command list
	if player has permission "cmd.see.builder":
		loop command list:
			if loop-value is {@default}, {@hero}, {@premium}, {@mythisch}, {@content-creator}, {@royal}, {@ultimate}, {@imperator}, {@serverbooster}, {@sup}, {@manager}, {@builder}:
				remove loop-value from command list
	if player has permission "cmd.see.mod":
		loop command list:
			if loop-value is {@default}, {@hero}, {@premium}, {@mythisch}, {@content-creator}, {@royal}, {@ultimate}, {@imperator}, {@serverbooster}, {@sup}, {@manager}, {@builder}, {@mod}:
				remove loop-value from command list
	if player has permission "cmd.see.dev":
		loop command list:
			if loop-value is {@default}, {@hero}, {@premium}, {@mythisch}, {@content-creator}, {@royal}, {@ultimate}, {@imperator}, {@serverbooster}, {@sup}, {@manager}, {@builder}, {@mod}, {@dev}:
				remove loop-value from command list
	if player has permission "cmd.see.owner":
		loop command list:
			if loop-value is {@default}, {@hero}, {@premium}, {@mythisch}, {@content-creator}, {@royal}, {@ultimate}, {@imperator}, {@serverbooster}, {@sup}, {@manager}, {@builder}, {@mod}, {@dev}, {@owner}:
				remove loop-value from command list
Leave a Comment