Solved I want to make my msg to a helpop

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Feb 24, 2017
191
7
0
23
foroendertheth.foroactivo.com
Hi I need to make this to a helpop my msg skript i made
but how I do the message of the helpop get to the admins
(me) like a variable or something?
This is my msg code. (Does not copy :V. haha you can copy the command if you want)
code_language.skript:
command /msg [<player>] [<text>] [<text>] [<text>] [<text>] [<text>]:
    aliases: /tell, /m, /message
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                if arg 3 is set:
                    if arg 4 is set:
                        if arg 5 is set:
                            if arg 6 is set:
                                send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2% %arg 3% %arg 4% %arg 5% %arg 6%" to arg 1
                                send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2% %arg 3% %arg 4% %arg 5% %arg 6%"                                 
                            else:
                                send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2% %arg 3% %arg 4% %arg 5%" to arg 1
                                send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2% %arg 3% %arg 4% %arg 5%"                         
                        else:
                            send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2% %arg 3% %arg 4%" to arg 1
                            send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2% %arg 3% %arg 4%"                                 
                    else:
                        send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2% %arg 3%" to arg 1
                        send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2% %arg 3%"                   
                else:
                    send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2%" to arg 1
                    send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2%"
            else:
                send "{@logo}/Msg jugador mensaje"
        else:
            send "{@logo}/msg jugador mensaje"
        if arg 1 is "%player%":
            send "{@logo}Xd msg a ti mismo"
 
code_language.skript:
command /msg [<player>] [<text>] [<text>] [<text>] [<text>] [<text>]:
    aliases: /tell, /m, /message
    trigger:
        if arg 1 is "%player%":
            send "{@logo}Xd msg a ti mismo"
        else if arg 1 is set:
            if arg 2 is set:
                if arg 3 is set:
                    if arg 4 is set:
                        if arg 5 is set:
                            if arg 6 is set:
                                send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2% %arg 3% %arg 4% %arg 5% %arg 6%" to arg 1
                                send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2% %arg 3% %arg 4% %arg 5% %arg 6%"                               
                            else:
                                send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2% %arg 3% %arg 4% %arg 5%" to arg 1
                                send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2% %arg 3% %arg 4% %arg 5%"                       
                        else:
                            send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2% %arg 3% %arg 4%" to arg 1
                            send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2% %arg 3% %arg 4%"                               
                    else:
                        send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2% %arg 3%" to arg 1
                        send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2% %arg 3%"                 
                else:
                    send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2%" to arg 1
                    send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2%"
            else:
                send "{@logo}/Msg jugador mensaje"
        else:
            send "{@logo}/msg jugador mensaje"
but i still dont know what do you want to create.
 
code_language.skript:
command /msg [<player>] [<text>] [<text>] [<text>] [<text>] [<text>]:
    aliases: /tell, /m, /message
    trigger:
        if arg 1 is "%player%":
            send "{@logo}Xd msg a ti mismo"
        else if arg 1 is set:
            if arg 2 is set:
                if arg 3 is set:
                    if arg 4 is set:
                        if arg 5 is set:
                            if arg 6 is set:
                                send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2% %arg 3% %arg 4% %arg 5% %arg 6%" to arg 1
                                send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2% %arg 3% %arg 4% %arg 5% %arg 6%"                              
                            else:
                                send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2% %arg 3% %arg 4% %arg 5%" to arg 1
                                send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2% %arg 3% %arg 4% %arg 5%"                      
                        else:
                            send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2% %arg 3% %arg 4%" to arg 1
                            send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2% %arg 3% %arg 4%"                              
                    else:
                        send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2% %arg 3%" to arg 1
                        send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2% %arg 3%"                
                else:
                    send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2%" to arg 1
                    send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2%"
            else:
                send "{@logo}/Msg jugador mensaje"
        else:
            send "{@logo}/msg jugador mensaje"
but i still dont know what do you want to create.
When someone type helpop message all helpers recibe the message
 
Hi I need to make this to a helpop my msg skript i made
but how I do the message of the helpop get to the admins
(me) like a variable or something?
This is my msg code. (Does not copy :V. haha you can copy the command if you want)
code_language.skript:
command /msg [<player>] [<text>] [<text>] [<text>] [<text>] [<text>]:
    aliases: /tell, /m, /message
    trigger:
        if arg 1 is set:
            if arg 2 is set:
                if arg 3 is set:
                    if arg 4 is set:
                        if arg 5 is set:
                            if arg 6 is set:
                                send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2% %arg 3% %arg 4% %arg 5% %arg 6%" to arg 1
                                send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2% %arg 3% %arg 4% %arg 5% %arg 6%"                                
                            else:
                                send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2% %arg 3% %arg 4% %arg 5%" to arg 1
                                send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2% %arg 3% %arg 4% %arg 5%"                        
                        else:
                            send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2% %arg 3% %arg 4%" to arg 1
                            send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2% %arg 3% %arg 4%"                                
                    else:
                        send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2% %arg 3%" to arg 1
                        send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2% %arg 3%"                  
                else:
                    send "&7&l<&aMsg&7&l>&6%player%]&f[tu] %arg 2%" to arg 1
                    send "&7&l<&aMsg&7&l>&f[tu]&6%arg 1%] %arg 2%"
            else:
                send "{@logo}/Msg jugador mensaje"
        else:
            send "{@logo}/msg jugador mensaje"
        if arg 1 is "%player%":
            send "{@logo}Xd msg a ti mismo"

Okay, so to my understanding, you're trying to simulate the "/helpop" command, correct?

But first... Why do you have so many text-args? Are you trying to limit the amount of words of a message?
 
code_language.skript:
message "MSG" to operators
or
code_language.skript:
loop players:
    if loop-player has permission "MSG.SPY":
        message "MSG" to loop-player
 
code_language.skript:
message "MSG" to operators
or
code_language.skript:
loop players:
    if loop-player has permission "MSG.SPY":
        message "MSG" to loop-player
Can you do this but to a variable of {helper.%loop-player%}?
[doublepost=1501177547,1501177446][/doublepost]
Okay, so to my understanding, you're trying to simulate the "/helpop" command, correct?

But first... Why do you have so many text-args? Are you trying to limit the amount of words of a message?
Because if i just do /msg [<text>] is going to do this example

/msg player hi I am cool
The player is just going to see
Sender hi
 
Okay, so to my understanding, you're trying to simulate the "/helpop" command, correct?

But first... Why do you have so many text-args? Are you trying to limit the amount of words of a message?
Men I use the skript expression of ban the player IP
And how I unban the player?
 
Can you do this but to a variable of {helper.%loop-player%}?
[doublepost=1501177547,1501177446][/doublepost]
Because if i just do /msg [<text>] is going to do this example

/msg player hi I am cool
The player is just going to see
Sender hi

Nnoo.. it won't? Using a single text argument should include any text separated by space

code_language.skript:
command /msgTest [<player>] [<text>]:
    trigger:
        message "%arg 2%" to arg 1

Try this if you want
 
Technically Orendigo provided the correct answer, but I made this for ya.
code_language.skript:
command /addstaff <player>:
    permission: op
    trigger:
        add player-arg to {helpop::*}
command /helpop <text>:
    trigger:
        send arg 1 to {helpop::*}
        send "You sent '%arg 1%' to the staff team."
command /removestaff <player>:
    permission: op
    trigger:
        remove player-arg from {helpop::*}
 
Status
Not open for further replies.