code_language.skript:
permission: glitch.help
permission message: &4Don't try my friendo ! im super programmer ! ta5 ta5
trigger:
cancel event
if arg 1 is set:
send "No no no"
if arg 1 is not set:
send "&8&m--------------"
send "&8[ &2Montex&aMC &8]
send "&8&m--------------"
stop
command /help:
permission: glitch.help
permission message: &4Don't try my friendo ! im super programmer ! ta5 ta5
trigger:
cancel event
if arg 1 is set:
send "No no no"
if arg 1 is not set:
send "&8&m--------------"
send "&8[ &2Montex&aMC &8]
send "&8&m--------------"
stop
command /me:
permission: glitch.me
permission message: &8No no no no no no no no!
trigger:
cancel event
if arg 1 is set:
send "&8&m--------------"
send "&4&lYou can't use this command !"
send "&8&m--------------"
stop
command /discord:
trigger:
cancel event
send "&8&m-------------&7[ &2Montex&aMC &7]&8&m---------------"
send " &9&lDiscord: <>
send "&8&m-------------&7[ &2Montex&aMC &7]&8&m---------------"
stop
command /commands:
permission: commands.show
permission message: &7You can not excute this command !
trigger
send "&8&m-------------&7[ &2Montex&aMC &7]&8&m---------------"
send " &8[ &9Commands &7&lList &8 "
send "&8[&41&8] &e&l/Discord &9&l- &5Show the server discord"
send "&8&m-------------&7[ &2Montex&aMC &7]&8&m---------------"
stop
command /pl:
permission: pl.see
permission message: &fPlugins (&a1&f): &aSkript
aliases: plugins or bukkitl
trigger:
cancel event
send "&1Plugins &f(&a1&f)&a: Skript , FlFlxGamer
stop
on join:
broadcast "&8| &a+ &8| &a%player%"
stop
on quit:
broadcast "&8| &c- &8| &c%player%"
stop
command /1:
permission: 1.use
permission message: &4You can't use this command.
trigger:
set player's gamemode to creative
send "&8&m-------------&7[ &2Montex&aMC &7]&8&m---------------"
send "&9Your gamemode is now &2Creative&9!"
send "&8&m-------------&7[ &2Montex&aMC &7]&8&m---------------"
stop
command /0:
permission: 2.use
permission message: &4You can't use this command.
trigger:
set player's gamemode to survival
send "&8&m-------------&7[ &2Montex&aMC &7]&8&m---------------"
send "&9Your gamemode is now &aSurvival"
send "&8&m-------------&7[ &2Montex&aMC &7]&8&m---------------"
stop
alert %texts% [(to|in) %worlds%]
command /alert [<text>]:
permission: alert.sk
permission message: "&8You can't use this command !"
trigger:
if arg 1 is not set:
message "&4Incorrect command ! &9Usage: /alert <msg>"
if arg 1 is set:
alert "&8[ &eMontex&2Mc &8] &9&l%message%"
message "&4you sent a message with the alert"
on rightclick with a nether star:
open chest with 3 rows named "&4List" to the player
wait 1 tick
format slot 13 of player's current inventory with grass named "&4Test"
wait 1 tick
format slot 5 of player's current inventory with nether rack named "&3test"
on inventory click:
if name of clicked item is "&4Test":
cancel event
if number of click slot is 13:
excute player command "warp test"
options:
setwarpperm: warp.set
delwarpperm: warp.delete
noperm: &cNo Permissions!
p: &8[ &eOnex&2Mc &8]
command /setwarp [<text>]:
permission: {@setwarpperm}
permission message: {@noperm}
trigger:
if arg 1 is not set:
send "{@p} &cPlease use &6/setwarp [Warp Name] &cto set a warp to your current location!"
if arg 1 is set:
set {warpssize::*} to size of {warps::*}
if {warpssize::*} is less than 54:
if {warp.%arg 1%} is not set:
add arg 1 to {warps::*}
set {warp.%arg%} to player's location
send "{@p} &cYou have set the warp &6%arg 1% &cto &6%player's location%"
else:
set {warp.%arg%} to player's location
send "{@p} &cYou have set the warp &6%arg 1% &cto &6%player's location%"
else:
send "{@p} &4You have reached the max amount of warps!"
command /warp [<text>]:
trigger:
if arg 1 is not set:
make player excute command "warps"
if arg 1 is set:
if {warp.%arg 1%} is set:
teleport player to {warp.%arg 1%}
send "{@p} &cYou have warped to &6%arg 1%"
else:
send "{@p} &4That warp doesn't exist!"
command /delwarp [<text>]:
permission: {@delwarpperm}
trigger:
if arg 1 is not set:
send "{@p} &cPlease use &6/delwarp [Warp Name] &cto delete a warp!"
if arg 1 is set:
if {warp.%arg%} is set:
remove arg 1 from {warps::*}
delete {warp.%arg%}
send "{@p} &cYou deleted warp &6%arg 1%"
else:
send "{@p} &4That warp doesn't exist!"
command /warps:
trigger:
set {warpssize::*} to size of {warps::*}
if {warpssize::*} is greater than 0:
open chest with 6 rows named "&6&lWarp Menu" to player
wait 2 ticks
set {_list} to 0
loop {warps::*}:
format slot {_list} of player with 160:4 named "&c%loop-value%" with lore "&7Click me to warp to &c%loop-value%" to close then run [execute player command "/warp %loop-value%"]
add 1 to {_list}
else:
send "{@p} &4Their are no warps!"
command /sc [<text>]:
aliases: staffchat
permission: staffchat.use
permission message: &4You are not a staffer to use this command
trigger:
arg = "on" or "enable":
set {staffchat.%player%} to true
send "&8&m-------------------"
send "&8[ ] &9Your staffchat is now &aEnabled !"
send "&8&m-------------------"
else if arg = "off" or "disable":
clear {staffchat.%player%}
send "&8&m-------------------"
send "&8[ ] &9Your staffchat is now &4Disabled !"
send "&8&m-------------------"
else:
send "&8&m-------------------"
send "&cCorrect command: /sc on &4&lor /sc off"
on chat:
{staffchat.%player%} is set
cancel event
send "&8 [ &4Staff &8] &4%player's nickname%>> &9%message%" to all players where [input has permission "staffchat.use"]