#socialspy skript help

1 messages · Page 1 of 1 (latest)

vast crystal
#

so i have this skript that does what socialspy does but i dont know how to make it so it doesnt show your own commands

#
command /SocialSpy:
    aliases: /ss
    permission: Skript.SocialSpy
    trigger:
        if {SocialSpy::%player%} is not set:
            set {SocialSpy::%player%} to true
            send "&2SocialSpy enabled" to player
        else if {SocialSpy::%player%} is false:
            set {SocialSpy::%player%} to true
            send "&2SocialSpy enabled" to player
        else:
            set {SocialSpy::%player%} to false
            send "&4SocialSpy disabled!" to player

on command:
    if executor is player:
        set {_executor} to player
        loop all players:
            if {SocialSpy::%loop-player%} is true:
                send "<#2C427E>%{_executor}% &8&l» &6/%command%" to loop-player
    else if executor is console:
        loop all players:
            if {SocialSpy::%loop-player%} is true:
                send "<#2C427E>Console &8&l» &6/%command%" to loop-player 
vast crystal
#

it also doesnt show the full command

#

like if someone does /home a

#

it only shows /home

#

if you can fix that too

cedar lichen
#

also use uuid jeez

vast crystal
serene magnet
#

you don't need to do
set {_executor} to player
because player is always player and you can use it anywhere