Hi,
I want to ask if it posibble to save a code in a function or variable to use it many times without typing the whole code everytime?
If it's functions. can someone tell me how?
i don't want to use the same code over and over (not full code):
Thanks in advance
I want to ask if it posibble to save a code in a function or variable to use it many times without typing the whole code everytime?
If it's functions. can someone tell me how?
i don't want to use the same code over and over (not full code):
code_language.skript:
if {@PermissionEX} is true:
if argument 1 is not set:
send "&eSetrank:&7 Something is not right?"
wait a tick
send "&cUsage: /setrank <Player> <Rank>"
stop
if argument 2 is not set:
send "&eSetrank:&e Something is not right?"
send "&cUsage: /setrank <Player> <Rank>"
stop
if {@GroupManager} is true:
if argument 1 is not set:
send "&eSetrank:&7 Something is not right?"
send "&cUsage: /setrank <Player> <Rank>"
stop
if argument 2 is not set:
send "&eSetrank:&e Something is not right?"
send "&cUsage: /setrank <Player> <Rank>"
stop
if {@zPermission} is true:
if argument 1 is not set:
send "&eSetrank:&7 Something is not right?"
send "&cUsage: /setrank <Player> <Rank>"
stop
if argument 2 is not set:
send "&eSetrank:&e Something is not right?"
send "&cUsage: /setrank <Player> <Rank>"
stop
Thanks in advance