wrote this very quickly, should work lmk if it doesn't
command /tpalltome <text>:
permission: command.tpalltome
permission message: &cYou can't execute that command!
usage: &cUsage: /tpalltome <permission>
trigger:
send "&cTeleporting all players with permission '%arg-1%' to you..."
teleport (all players where [input has permission arg-1]) to player