Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ban [<offline player>] <text>:
- permission: skript.ban
- permission message: {@prefix} &c Du har ikke tilladelse til at banne!
- trigger:
- if arg-1 is not set:
- message "{@prefix} Du skal huske og vælge en spiller!"
- if arg-2 is not set:
- message "{@prefix} Du skal huske og vælge en grund!"
- if arg-2 is "Hack":
- execute console command "etempban %arg-1% 5d Hack"
- broadcast "{@prefix} &4%player% &char lige banned &a%arg-1% &ci &414 dage &cmed grunden: &4Hack!"
- stop
- if arg-2 is "Provo":
- execute console command "etempban %arg-1% 3h Provokerende"
- broadcast "{@prefix} &4%player% &char lige banned &4%arg-1% &ci &43 timer &cmed grunden: &4Provokation!"
- stop
- if arg-2 is "ip":
- execute console command "eban %arg-1% IP REKLAME"
- broadcast "{@prefix} &4%player% &char lige banned &4%arg-1% PERMANENT &cmed grunden: &4IP reklame!"
- stop
- if arg-2 is "spam":
- execute console command "etempban %arg-1% 30m Spam"
- broadcast "{@prefix} &4%player% &char lige banned &4%arg-1% &ci &430 minutter &cmed grunden: &4Spam!"
- stop
- command /ip [<offline player>]:
- permission: skript.admin
- permission message: &cYou do not have permission!
- trigger:
- send "&cIP: &7%ip of argument%" to player
Advertisement
Add Comment
Please, Sign In to add comment