/tell, with a socialspy implimented

Do you find this command a violation of a players privacy if they are trying to use the command.

  • Yes

  • No


Results are only viewable after voting.

xXLink1147Xx

Staff member
Support Team
#1
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%
 

thedeibo

HBIDamian - Head Mod Dude Thing
Staff member
Department Head
Community Team
#2
I’ve done something similar to this using third party services. I found quite a lot of rule breakers. The only bad side I see is you’d need to overwrite /w and /msg too
 
#10
yes you are correct, yeah i should have mentioned that.. sorz
ok, I made a command that defines the %staff% variable (or in my case, %sith%)
it works, except that it says "Error at line 28: ATskullXD5 not found" "Error at line 28: PotatoSheepMilk not found"..... Skull and Sheep are two people I added into %sith%, but is there a way to make it message only the online ppl in %sith%/%staff%? @xXLink1147Xx
 

xXLink1147Xx

Staff member
Support Team
#11
ok, I made a command that defines the %staff% variable (or in my case, %sith%)
it works, except that it says "Error at line 28: ATskullXD5 not found" "Error at line 28: PotatoSheepMilk not found"..... Skull and Sheep are two people I added into %sith%, but is there a way to make it message only the online ppl in %sith%/%staff%? @xXLink1147Xx
i had the same issue, although i solved it. Sadly i have no idea what i did to fix my issue.