Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ans [<offline player>] [<text>]:
- permission: ansat.brug
- permission message: &4You do not have access to that command.
- trigger:
- If arg 2 is "Hjælper":
- wait 2 tick
- execute console command "/manuadd %arg-1% Hjælper"
- wait 2 tick
- execute console command "/nte player %arg-1% prefix &9Hjælper &7"
- wait 20 tick
- broadcast "&c&lANSAT SYSTEM &7:: &9%arg-1% &7er lige blevet ansat som &9Hjælper!!"
- If arg 2 is "Admin":
- wait 2 tick
- execute console command "/nte player %arg-1% prefix &4Admin &7"
- wait 2 tick
- execute console command "/manuadd %arg-1% Admin"
- wait 20 tick
- broadcast "&c&lANSAT SYSTEM &7:: &9%arg-1% &7er lige blevet ansat som &4Admin!!"
- If arg 2 is "Mod":
- wait 2 tick
- execute console command "/manuadd %arg-1% Mod"
- wait 2 tick
- execute console command "/nte player %arg-1% prefix &5Mod &7"
- wait 20 tick
- broadcast "&c&lANSAT SYSTEM &7:: &9%arg-1% &7er lige blevet ansat som &5Mod!!"
- If arg 2 is "Bygger":
- wait 2 tick
- execute console command "/manuadd %arg-1% Bygger"
- execute console command "/nte player %arg-1% prefix &aBygger &7"
- wait 20 tick
- broadcast "&c&lANSAT SYSTEM &7:: &9%arg-1% &7er lige blevet ansat som &aBygger!!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement