cmd add tell let %gui%["type"] = \"custom_form\"
cmd add tell let %gui%["title"] = \"§cPrivate Message\"
cmd add tell let %drop%["type"] = \"dropdown\"
cmd add tell let %drop%["text"] = \"Select a player:\"
cmd add tell let %options% = onlineplayers()
cmd add tell let %drop%["options"] = %options%
cmd add tell let %input%["type"] = \"input"\
cmd add tell let %input%["text"] = \"Message:\"
cmd add tell let %input%["placeholder"] = \"Hello!\"
cmd add tell let %content%[] = %drop%
cmd add tell let %content%[] = %input%
cmd add tell let %gui%["content"] = %content%
cmd add tell let %output% = dialog(%p%, %gui%)
cmd add tell if %output% = %false% then exit
cmd add tell let %players% = onlineplayers()
cmd add tell let %pnum% = %output%[0]
cmd add tell let %player% = %players%[%pnum%]
cmd add tell let %msg% = %output%[1]
cmd add tell /tell %player% %msg%
cmd add tell let %status% = playerstatus(%p%)
cmd add tell if %status%["op"] = %false% then goto 23
cmd add tell if %status%["op"] = %true% then goto 24
cmd add tell exit
cmd add tell load %staff%
cmd add tell if %p% in %staff% then goto 28
cmd add tell %staff%[%p%] = %p%
cmd add tell save %staff%
cmd add tell message %staff% §c[§4SocialSpy§c] §4%p% §cmessaged §4%player% §c-=> §4%msg%
cmd add tell let %gui%["title"] = \"§cPrivate Message\"
cmd add tell let %drop%["type"] = \"dropdown\"
cmd add tell let %drop%["text"] = \"Select a player:\"
cmd add tell let %options% = onlineplayers()
cmd add tell let %drop%["options"] = %options%
cmd add tell let %input%["type"] = \"input"\
cmd add tell let %input%["text"] = \"Message:\"
cmd add tell let %input%["placeholder"] = \"Hello!\"
cmd add tell let %content%[] = %drop%
cmd add tell let %content%[] = %input%
cmd add tell let %gui%["content"] = %content%
cmd add tell let %output% = dialog(%p%, %gui%)
cmd add tell if %output% = %false% then exit
cmd add tell let %players% = onlineplayers()
cmd add tell let %pnum% = %output%[0]
cmd add tell let %player% = %players%[%pnum%]
cmd add tell let %msg% = %output%[1]
cmd add tell /tell %player% %msg%
cmd add tell let %status% = playerstatus(%p%)
cmd add tell if %status%["op"] = %false% then goto 23
cmd add tell if %status%["op"] = %true% then goto 24
cmd add tell exit
cmd add tell load %staff%
cmd add tell if %p% in %staff% then goto 28
cmd add tell %staff%[%p%] = %p%
cmd add tell save %staff%
cmd add tell message %staff% §c[§4SocialSpy§c] §4%p% §cmessaged §4%player% §c-=> §4%msg%