Thanks to AntiSepticBoi for the idea of this command!
TP GUI
cmd create tp
cmd add tp let %staff% = array(\”Owner\”, \”Admin\”)
cmd add tp let %allowed% = playergroup(%p%)
cmd add tp if %allowed% in %allowed% in %staff% then goto 6
cmd add tp message %p% [Teleport] You need permission for this command!
cmd add tp exit
cmd add tp %all% = onlineplayers()
cmd add tp %form%[\”type\”] = \”custom_form\”
cmd add tp %form%[\”title\”] = \”Teleport\”
cmd add tp %con1%[\”type\”] = \”dropdown\”
cmd add tp %con1%[\”text\”] = \”Select a Player to Teleport to!\”
cmd add tp %con1%[\”options\”] = %all%
cmd add tp %con%[] = %con1%
cmd add tp %form%[\”content\”] = %con%
cmd add tp %res% = dialog(%p%, %form%)
cmd add tp if %res% = %false% then exit
cmd add tp %index% = %res%[0]
cmd add tp %name% = %all%[%index%]
cmd add asop /tp %p% %name%
TP GUI
cmd create tp
cmd add tp let %staff% = array(\”Owner\”, \”Admin\”)
cmd add tp let %allowed% = playergroup(%p%)
cmd add tp if %allowed% in %allowed% in %staff% then goto 6
cmd add tp message %p% [Teleport] You need permission for this command!
cmd add tp exit
cmd add tp %all% = onlineplayers()
cmd add tp %form%[\”type\”] = \”custom_form\”
cmd add tp %form%[\”title\”] = \”Teleport\”
cmd add tp %con1%[\”type\”] = \”dropdown\”
cmd add tp %con1%[\”text\”] = \”Select a Player to Teleport to!\”
cmd add tp %con1%[\”options\”] = %all%
cmd add tp %con%[] = %con1%
cmd add tp %form%[\”content\”] = %con%
cmd add tp %res% = dialog(%p%, %form%)
cmd add tp if %res% = %false% then exit
cmd add tp %index% = %res%[0]
cmd add tp %name% = %all%[%index%]
cmd add asop /tp %p% %name%