OmegaFX Posté(e) le 26 mai 2016 Posté(e) le 26 mai 2016 Aujourd'hui je vous demande de l'aide a propos d'un skript que je voudrais corrigé mais je ne trouve pas le problème. Je voudrais un skript quand un joueur fait /msg - /r - /tell - /message<pseudo>: Sa envoie un message privé à la personne demander mais ou l'on peut cliquer dessus pour répondre: -> le message: &7(&bpseudodelapersonnequil'envoie &7-> &bpseudodelapersonnequilareçu&7) &bmessage -> message cliquable: &bClique pour lui répondre -> sa met la commande /r dans le tchat Le même script que celui ci mais sauf que quand on envoie un message a une personne on ne voit pas le message envoyé, c'est que le destinataire qui voit le message. Du coup j'aimerais bien que vous réglez le problème . Merci d'avance et à la prochaine ! # ___ ___ ____________ __________ # # | | | | | __________| | ________| # # | \_/ | | | | | # # | _ _ | | |__________ | | # # | |\_/ | | |___________ | | | ____ # # | | | | | | | | |__ | # # | | | | __________| | | |______| | # # |___| |___| |____________| |__________| # # Skript De Message Private Par OmegaFX # Les options: options: Chat_Format_Sender: &7(&bmoi&7 -> &b%arg 1%&7) &7%arg 2% Chat_Format_Recive: &7(&b%sender%&7 -> &bmoi&7) &7%arg 2% prefix: &7 # Premiere commande: /msg (/m, /mess, /tell, /t) Command /msg [<player>] [<text>]: aliases: /m, /mess, /tell, /t trigger: if arg 1 is not set: message "{@prefix} Tu dois mettre un pseudo! /msg <Joueur> <Message>." if arg 1 is set: if arg 2 is not set: message "{@prefix} Tu dois mettre un message! /msg <Joueur> <Message>." if arg 2 is set: send json of "{@Chat_Format_Sender}" tooltip "&bClique pour lui répondre" suggest "/msg %arg 1%" to player send json of "{@Chat_Format_Recive}" tooltip "&bClique pour lui répondre" suggest "/msg %player%" to arg 1 play raw sound "note.pling" at player with pitch 1 volume 10 play raw sound "note.pling" at arg 1 with pitch 1 volume 10 set {rep.%arg 1%} to player # Deuxieme commande: /r (/rep, /reponce) command /r [<text>]: aliases: /rep, /reponce trigger: if arg 1 is not set: message "{@prefix} Tu dois mettre un message! /r <Message>." if arg 1 is set: if {rep.%player%} is set: send json of "&7(&bmoi&7 -> &b%{rep.%player%}%&7) &7%arg 1%" tooltip "&bClique pour lui répondre" suggest "/msg %player%" to player send json of "&7(&b%player%&7 -> &bmoi&7) &7%arg 1%" tooltip "&bClique pour lui répondre" suggest "/msg %arg 1%" to {rep.%player%} play raw sound "note.pling" at player with pitch 1 volume 10 play raw sound "note.pling" at {rep.%player%} with pitch 1 volume 10 set {rep.%{rep.%player%}%} to player if {rep.%player%} is not set: message "{@prefix} Tu n'as personne a qui répondre!" on quit: delete {rep.%player%}
OmegaFX Posté(e) le 27 mai 2016 Auteur Posté(e) le 27 mai 2016 Je ne comprend pas vraimment ^^ x) Il faut juste modifier un truc dans ce script pour que le mec qui envoie le message le voit mais la il ne je voit pas dans j'aimerais que quelqu'un me fasse cela
Yghore Posté(e) le 27 mai 2016 Posté(e) le 27 mai 2016 Comme ceci ? # ___ ___ ____________ __________ # # | | | | | __________| | ________| # # | \_/ | | | | | # # | _ _ | | |__________ | | # # | |\_/ | | |___________ | | | ____ # # | | | | | | | | |__ | # # | | | | __________| | | |______| | # # |___| |___| |____________| |__________| # # Skript De Message Private Par OmegaFX # Les options: options: Chat_Format_Sender: &7(&bmoi&7 -> &b%arg 1%&7) &7%arg 2% Chat_Format_Recive: &7(&b%sender%&7 -> &bmoi&7) &7%arg 2% prefix: &7 # Premiere commande: /msg (/m, /mess, /tell, /t) Command /msg [<player>] [<text>]: aliases: /m, /mess, /tell, /t trigger: if arg 1 is not set: message "{@prefix} Tu dois mettre un pseudo! /msg <Joueur> <Message>." if arg 1 is set: if arg 2 is not set: message "{@prefix} Tu dois mettre un message! /msg <Joueur> <Message>." if arg 2 is set: send json of "{@Chat_Format_Sender}" tooltip "&bClique pour lui répondre" suggest "/msg %arg 1%" to player send json of "{@Chat_Format_Recive}" tooltip "&bClique pour lui répondre" suggest "/msg %player%" to arg-1 play raw sound "note.pling" at player with pitch 1 volume 10 play raw sound "note.pling" at arg 1 with pitch 1 volume 10 set {rep.%arg 1%} to player # Deuxieme commande: /r (/rep, /reponce) command /r [<text>]: aliases: /rep, /reponce trigger: if arg 1 is not set: message "{@prefix} Tu dois mettre un message! /r <Message>." if arg 1 is set: if {rep.%player%} is set: send json of "&7(&bmoi&7 -> &b%{rep.%player%}%&7) &7%arg 1%" tooltip "&bClique pour lui répondre" suggest "/msg %player%" to player send json of "&7(&b%player%&7 -> &bmoi&7) &7%arg 1%" tooltip "&bClique pour lui répondre" suggest "/msg %arg 1%" to {rep.%player%} play raw sound "note.pling" at player with pitch 1 volume 10 play raw sound "note.pling" at {rep.%player%} with pitch 1 volume 10 set {rep.%{rep.%player%}%} to player if {rep.%player%} is not set: message "{@prefix} Tu n'as personne a qui répondre!" on quit: delete {rep.%player%} 1
OmegaFX Posté(e) le 27 mai 2016 Auteur Posté(e) le 27 mai 2016 Comme ceci ? # ___ ___ ____________ __________ # # | | | | | __________| | ________| # # | \_/ | | | | | # # | _ _ | | |__________ | | # # | |\_/ | | |___________ | | | ____ # # | | | | | | | | |__ | # # | | | | __________| | | |______| | # # |___| |___| |____________| |__________| # # Skript De Message Private Par OmegaFX # Les options: options: Chat_Format_Sender: &7(&bmoi&7 -> &b%arg 1%&7) &7%arg 2% Chat_Format_Recive: &7(&b%sender%&7 -> &bmoi&7) &7%arg 2% prefix: &7 # Premiere commande: /msg (/m, /mess, /tell, /t) Command /msg [<player>] [<text>]: aliases: /m, /mess, /tell, /t trigger: if arg 1 is not set: message "{@prefix} Tu dois mettre un pseudo! /msg <Joueur> <Message>." if arg 1 is set: if arg 2 is not set: message "{@prefix} Tu dois mettre un message! /msg <Joueur> <Message>." if arg 2 is set: send json of "{@Chat_Format_Sender}" tooltip "&bClique pour lui répondre" suggest "/msg %arg 1%" to player send json of "{@Chat_Format_Recive}" tooltip "&bClique pour lui répondre" suggest "/msg %player%" to arg-1 play raw sound "note.pling" at player with pitch 1 volume 10 play raw sound "note.pling" at arg 1 with pitch 1 volume 10 set {rep.%arg 1%} to player # Deuxieme commande: /r (/rep, /reponce) command /r [<text>]: aliases: /rep, /reponce trigger: if arg 1 is not set: message "{@prefix} Tu dois mettre un message! /r <Message>." if arg 1 is set: if {rep.%player%} is set: send json of "&7(&bmoi&7 -> &b%{rep.%player%}%&7) &7%arg 1%" tooltip "&bClique pour lui répondre" suggest "/msg %player%" to player send json of "&7(&b%player%&7 -> &bmoi&7) &7%arg 1%" tooltip "&bClique pour lui répondre" suggest "/msg %arg 1%" to {rep.%player%} play raw sound "note.pling" at player with pitch 1 volume 10 play raw sound "note.pling" at {rep.%player%} with pitch 1 volume 10 set {rep.%{rep.%player%}%} to player if {rep.%player%} is not set: message "{@prefix} Tu n'as personne a qui répondre!" on quit: delete {rep.%player%} Je te dis sa dans une demie heure
OmegaFX Posté(e) le 27 mai 2016 Auteur Posté(e) le 27 mai 2016 Comme ceci ? # ___ ___ ____________ __________ # # | | | | | __________| | ________| # # | \_/ | | | | | # # | _ _ | | |__________ | | # # | |\_/ | | |___________ | | | ____ # # | | | | | | | | |__ | # # | | | | __________| | | |______| | # # |___| |___| |____________| |__________| # # Skript De Message Private Par OmegaFX # Les options: options: Chat_Format_Sender: &7(&bmoi&7 -> &b%arg 1%&7) &7%arg 2% Chat_Format_Recive: &7(&b%sender%&7 -> &bmoi&7) &7%arg 2% prefix: &7 # Premiere commande: /msg (/m, /mess, /tell, /t) Command /msg [<player>] [<text>]: aliases: /m, /mess, /tell, /t trigger: if arg 1 is not set: message "{@prefix} Tu dois mettre un pseudo! /msg <Joueur> <Message>." if arg 1 is set: if arg 2 is not set: message "{@prefix} Tu dois mettre un message! /msg <Joueur> <Message>." if arg 2 is set: send json of "{@Chat_Format_Sender}" tooltip "&bClique pour lui répondre" suggest "/msg %arg 1%" to player send json of "{@Chat_Format_Recive}" tooltip "&bClique pour lui répondre" suggest "/msg %player%" to arg-1 play raw sound "note.pling" at player with pitch 1 volume 10 play raw sound "note.pling" at arg 1 with pitch 1 volume 10 set {rep.%arg 1%} to player # Deuxieme commande: /r (/rep, /reponce) command /r [<text>]: aliases: /rep, /reponce trigger: if arg 1 is not set: message "{@prefix} Tu dois mettre un message! /r <Message>." if arg 1 is set: if {rep.%player%} is set: send json of "&7(&bmoi&7 -> &b%{rep.%player%}%&7) &7%arg 1%" tooltip "&bClique pour lui répondre" suggest "/msg %player%" to player send json of "&7(&b%player%&7 -> &bmoi&7) &7%arg 1%" tooltip "&bClique pour lui répondre" suggest "/msg %arg 1%" to {rep.%player%} play raw sound "note.pling" at player with pitch 1 volume 10 play raw sound "note.pling" at {rep.%player%} with pitch 1 volume 10 set {rep.%{rep.%player%}%} to player if {rep.%player%} is not set: message "{@prefix} Tu n'as personne a qui répondre!" on quit: delete {rep.%player%} Merci !!! cela marche niquel
OmegaFX Posté(e) le 27 mai 2016 Auteur Posté(e) le 27 mai 2016 Comme ceci ? # ___ ___ ____________ __________ # # | | | | | __________| | ________| # # | \_/ | | | | | # # | _ _ | | |__________ | | # # | |\_/ | | |___________ | | | ____ # # | | | | | | | | |__ | # # | | | | __________| | | |______| | # # |___| |___| |____________| |__________| # # Skript De Message Private Par OmegaFX # Les options: options: Chat_Format_Sender: &7(&bmoi&7 -> &b%arg 1%&7) &7%arg 2% Chat_Format_Recive: &7(&b%sender%&7 -> &bmoi&7) &7%arg 2% prefix: &7 # Premiere commande: /msg (/m, /mess, /tell, /t) Command /msg [<player>] [<text>]: aliases: /m, /mess, /tell, /t trigger: if arg 1 is not set: message "{@prefix} Tu dois mettre un pseudo! /msg <Joueur> <Message>." if arg 1 is set: if arg 2 is not set: message "{@prefix} Tu dois mettre un message! /msg <Joueur> <Message>." if arg 2 is set: send json of "{@Chat_Format_Sender}" tooltip "&bClique pour lui répondre" suggest "/msg %arg 1%" to player send json of "{@Chat_Format_Recive}" tooltip "&bClique pour lui répondre" suggest "/msg %player%" to arg-1 play raw sound "note.pling" at player with pitch 1 volume 10 play raw sound "note.pling" at arg 1 with pitch 1 volume 10 set {rep.%arg 1%} to player # Deuxieme commande: /r (/rep, /reponce) command /r [<text>]: aliases: /rep, /reponce trigger: if arg 1 is not set: message "{@prefix} Tu dois mettre un message! /r <Message>." if arg 1 is set: if {rep.%player%} is set: send json of "&7(&bmoi&7 -> &b%{rep.%player%}%&7) &7%arg 1%" tooltip "&bClique pour lui répondre" suggest "/msg %player%" to player send json of "&7(&b%player%&7 -> &bmoi&7) &7%arg 1%" tooltip "&bClique pour lui répondre" suggest "/msg %arg 1%" to {rep.%player%} play raw sound "note.pling" at player with pitch 1 volume 10 play raw sound "note.pling" at {rep.%player%} with pitch 1 volume 10 set {rep.%{rep.%player%}%} to player if {rep.%player%} is not set: message "{@prefix} Tu n'as personne a qui répondre!" on quit: delete {rep.%player%} mais j'ai encore un autre soucis, quand je fais /r "test" et que l'autre personne clique pour répondre sa lui met /msg "test"
Yghore Posté(e) le 27 mai 2016 Posté(e) le 27 mai 2016 Normal tu envoir ceci "/msg %arg 1%" a {rep.%player%} alors qu'il faudrait envoyer ceci --> "/r <message>" :)
OmegaFX Posté(e) le 27 mai 2016 Auteur Posté(e) le 27 mai 2016 Normal tu envoir ceci "/msg %arg 1%" a {rep.%player%} alors qu'il faudrait envoyer ceci --> "/r <message>" :) envoie moi le script au complet stp :) avec ce que tu viens de me dire
Faeshea Posté(e) le 31 mai 2016 Posté(e) le 31 mai 2016 Mec? Tu peux m'envoyer ton support JSON? Moi il possède tout le temps des erreurs.. :/
Messages recommandés