a guest Feb 27th, 2020 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /removerole <player> <text>:
  2.     permission: *
  3.     trigger:
  4.         set {_guild} to guild with id "{@guildid}"
  5.         set {_role} to role named arg-2 in {_guild}
  6.         if {_role} is not set:
  7.             send "Rollen findes ikke"
  8.             stop
  9.         set {_discordname} to user with id "%{Discordname::%arg-1%}%" in {_guild}
  10.         if {_discordname} has role named arg-2:
  11.             remove {_role} from roles of {_discordname} in {_guild} with "{@botname}"
  12.             set {_vixio} to last vixio error
  13.             if {_vixio} is set:
  14.                 send "%{_vixio}%"
  15.             send "Spilleren har nu ikke l├Žnger rollen"
  16.             stop
  17.         send "Spilleren har ikke rollen"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand