Script Help

Status
This thread has been locked.

Sinnethh

Premium
Feedback score
1
Posts
55
Reactions
6
Resources
0
I'v been Designing a /Report (username) script for a friends server but I can't get it to show the message in chat after someone has reported

The report message is suppose to come up and say

Reporter: (reporter)
Reported: (Reported)
Reason: (reason)

but nothing is happening can someone please help me <3
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Furex

EnderSetups & Manager of Kirbs!
Premium
Feedback score
0
Posts
1,047
Reactions
269
Resources
0
It would help if we had the skript.
 

Jayson

Supreme
Feedback score
17
Posts
1,258
Reactions
741
Resources
0
Code:
Options:
    WaitMsg: &cEhh do not spam report
    Prefix: Reporting
    SuccesRMsg: &aThanks for reporting..
    ReasonError: &cWhere is the reason?
    PlayerError: That guy is not online
    AutoRError: Um...
    Delay: 5

command /report <player> <text>:
    usage: &c/report <player> <reason>
    description: &aReport Anything
    permission: report.report
    executable by: players
    trigger:
        arg 1 is a player:
            arg 2 is set:
                set {_waited} to difference between {report.%player%.lastused} and now
                if {_waited} is less than {@Delay} seconds:
                    message "{@Prefix} {@WaitMsg}"
                    stop
                if arg-1 is "%player%":
                    message "{@Prefix} {@AutoRError}"
                    stop
                loop all players:
                    loop-player has the permission "report.report.recieve":
                        send "%nl%  &b%player% &areported &b%arg-1% &afor &b%arg-2% %nl%" to loop-player
                        set {report.%player%.lastused} to now
                message "{@Prefix} {@SuccesRMsg}"
                send message "&cReport> %player% reported %arg-1% for %arg-2%" to console
                log "Report> %player% (%ip of player%) reported %arg-1% (%ip of arg-1%) for %arg-2%" to "SK.log"
            else:
                message "{@Prefix} {@ReasonError}"
        else:
            message "{@Prefix} {@PlayerError}"
 

Sinnethh

Premium
Feedback score
1
Posts
55
Reactions
6
Resources
0
#----------------------
# report
#----------------------
#
#----------------------
#/report (player)
#----------------------


command /report [<player>] [<text>] :
#----------------------
# Alias for /report
#----------------------
aliases: /report
#----------------------
#Permission (changable)
#-----------------------------
permission: report.use
#--------------------------------------
#Message if player doesn't have perms.
#--------------------------------------
permission message: &c>>&7 You do not have permissions for this...
trigger:
if arg-2 is not set:
send "&cSilenceReports&7&c Please try again"
send "&c/report <player> <reason>"
if arg-2 is set:
open chest with 1 rows named "&c%arg-1% Report Menu" to player
wait 1 tick
#--------------------------------------------------------
# Ability to change the ban time at the end of each code
#--------------------------------------------------------
format slot 0 of player with 276 named "&cKill Aura &7&l(Severity 1)" to close then run [execute player command "sreport %arg-1% &cKillAura/ForceField"]
format slot 1 of player with 288 named "&aFly/Speed &7&l(Severity 1)" to close then run [execute player command "sreport %arg-1% &cAimbot/Tracers"]
format slot 2 of player with 143 named "&aAutoClicker &7&l(Severity 1)" to close then run [execute player command "sreport %arg-1% &cDDoS Threats"]
format slot 3 of player with 282 named "&eAutoSoup &7&l(Severity 1)" to close then run [execute player command "sreport %arg-1% &cFlying"]
format slot 4 of player with 145 named "&3AntiKnockBack &7&l(Severity 1)" to close then run [execute player command "sreport %arg-1% &cAntiKnockBack"]
format slot 5 of player with 397:3 named "&bAimbot &7&l(Severity 1)" to close then run [execute player command "sreport %arg-1% &cX-Ray"]
format slot 6 of player with 421 named "&5Chat &7&l(Severity 1)" to close then run [execute player command "sreport %arg-1% &cDDoS Threats"]
format slot 7 of player with 399 named "&6Other &7&l(Severity 1)" to close then run [execute player command "sreport %arg-1% &cTP Killing"]
format slot 8 of player with 35:14 named "&cCancel Report " to close then run [execute player command "sreport %arg-1% &cOther"][DOUBLEPOST=1470587053][/DOUBLEPOST]+ im also trying to make it so you dont need to put a reason so its only /report (player)
and it opens the GUI
 

Furex

EnderSetups & Manager of Kirbs!
Premium
Feedback score
0
Posts
1,047
Reactions
269
Resources
0
#----------------------
# report
#----------------------
#
#----------------------
#/report (player)
#----------------------


command /report [<player>] [<text>] :
#----------------------
# Alias for /report
#----------------------
aliases: /report
#----------------------
#Permission (changable)
#-----------------------------
permission: report.use
#--------------------------------------
#Message if player doesn't have perms.
#--------------------------------------
permission message: &c>>&7 You do not have permissions for this...
trigger:
if arg-2 is not set:
send "&cSilenceReports&7&c Please try again"
send "&c/report <player> <reason>"
if arg-2 is set:
open chest with 1 rows named "&c%arg-1% Report Menu" to player
wait 1 tick
#--------------------------------------------------------
# Ability to change the ban time at the end of each code
#--------------------------------------------------------
format slot 0 of player with 276 named "&cKill Aura &7&l(Severity 1)" to close then run [execute player command "sreport %arg-1% &cKillAura/ForceField"]
format slot 1 of player with 288 named "&aFly/Speed &7&l(Severity 1)" to close then run [execute player command "sreport %arg-1% &cAimbot/Tracers"]
format slot 2 of player with 143 named "&aAutoClicker &7&l(Severity 1)" to close then run [execute player command "sreport %arg-1% &cDDoS Threats"]
format slot 3 of player with 282 named "&eAutoSoup &7&l(Severity 1)" to close then run [execute player command "sreport %arg-1% &cFlying"]
format slot 4 of player with 145 named "&3AntiKnockBack &7&l(Severity 1)" to close then run [execute player command "sreport %arg-1% &cAntiKnockBack"]
format slot 5 of player with 397:3 named "&bAimbot &7&l(Severity 1)" to close then run [execute player command "sreport %arg-1% &cX-Ray"]
format slot 6 of player with 421 named "&5Chat &7&l(Severity 1)" to close then run [execute player command "sreport %arg-1% &cDDoS Threats"]
format slot 7 of player with 399 named "&6Other &7&l(Severity 1)" to close then run [execute player command "sreport %arg-1% &cTP Killing"]
format slot 8 of player with 35:14 named "&cCancel Report " to close then run [execute player command "sreport %arg-1% &cOther"][DOUBLEPOST=1470587053][/DOUBLEPOST]+ im also trying to make it so you dont need to put a reason so its only /report (player)
and it opens the GUI
You actually made a while skript for him?
 

Furex

EnderSetups & Manager of Kirbs!
Premium
Feedback score
0
Posts
1,047
Reactions
269
Resources
0
His Script didnt work xD but thats my script
do u know how to make it so i only have to use the players name not a reason
currently on phone hard to view and change your skript.
 
Status
This thread has been locked.
Top