Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /removerole <player> <text>:
- permission: *
- trigger:
- set {_guild} to guild with id "{@guildid}"
- set {_role} to role named arg-2 in {_guild}
- if {_role} is not set:
- send "Rollen findes ikke"
- stop
- set {_discordname} to user with id "%{Discordname::%arg-1%}%" in {_guild}
- if {_discordname} has role named arg-2:
- remove {_role} from roles of {_discordname} in {_guild} with "{@botname}"
- set {_vixio} to last vixio error
- if {_vixio} is set:
- send "%{_vixio}%"
- send "Spilleren har nu ikke længer rollen"
- stop
- send "Spilleren har ikke rollen"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement