TheyCallMeEthan Posted September 9, 2019 Share Posted September 9, 2019 I'm trying to make a warn system, and am pretty new to Skripting. I tried this: command /test2 [<player>] [<text>]: trigger: send "&4You have been warned by &c%sender%: &8%arg 2%" to %arg 1% but it didn't work. How do I target the player specified in the command? knock knock whos there hah hah who? why're you laughing like that? Link to comment Share on other sites More sharing options...
Xeno_Synthesis Posted September 10, 2019 Share Posted September 10, 2019 Hey! Firstly, the script reads the first argument as "arg-1", not "arg 1". The same is for the second argument, but as "arg-2", not "arg 2" Secondly, the reason the player isn't being sent the message, is because you're saying %arg 1%. Instead, try {arg-1}. Link to comment Share on other sites More sharing options...
Nd_ Posted September 10, 2019 Share Posted September 10, 2019 8 hours ago, Xeno_Synthesis said: Hey! Firstly, the script reads the first argument as "arg-1", not "arg 1". The same is for the second argument, but as "arg-2", not "arg 2" Secondly, the reason the player isn't being sent the message, is because you're saying %arg 1%. Instead, try {arg-1}. If that doesn't work, change it to just arg 1 Link to comment Share on other sites More sharing options...
TheyCallMeEthan Posted September 10, 2019 Author Share Posted September 10, 2019 9 hours ago, Nd_ said: If that doesn't work, change it to just arg 1 Thanks!! knock knock whos there hah hah who? why're you laughing like that? Link to comment Share on other sites More sharing options...
TheyCallMeEthan Posted September 10, 2019 Author Share Posted September 10, 2019 17 hours ago, Xeno_Synthesis said: Hey! Firstly, the script reads the first argument as "arg-1", not "arg 1". The same is for the second argument, but as "arg-2", not "arg 2" Secondly, the reason the player isn't being sent the message, is because you're saying %arg 1%. Instead, try {arg-1}. Thank you!! knock knock whos there hah hah who? why're you laughing like that? Link to comment Share on other sites More sharing options...
TheyCallMeEthan Posted September 10, 2019 Author Share Posted September 10, 2019 @Nd_@Xeno_Synthesis Still isn't working.. Did they update it? knock knock whos there hah hah who? why're you laughing like that? Link to comment Share on other sites More sharing options...
Tastq Posted September 13, 2019 Share Posted September 13, 2019 arg 1 and arg-2 are basically the same thing. The problem here is that you put %% around arg 1 outside the string IGN: TastqHalloween Discord: Tastq#6814 Twitter Youtube Link to comment Share on other sites More sharing options...
TheyCallMeEthan Posted September 13, 2019 Author Share Posted September 13, 2019 8 hours ago, TastqHalloween said: arg 1 and arg-2 are basically the same thing. The problem here is that you put %% around arg 1 outside the string Thanks!! knock knock whos there hah hah who? why're you laughing like that? Link to comment Share on other sites More sharing options...
Tastq Posted September 13, 2019 Share Posted September 13, 2019 No problem! IGN: TastqHalloween Discord: Tastq#6814 Twitter Youtube Link to comment Share on other sites More sharing options...
Criticyl Posted September 13, 2019 Share Posted September 13, 2019 Post has been answeredLocked -------------------------------------------------------------[VIP] - 2018/2019 [JR.MOD] - 28th April 2019[SR.MOD] - 21st June 2019 [LEGEND] - 28th July 2020 (Resigned) ------------------------------------------------------------- Discord - Criticyl#0002 IGN - Criticyl Link to comment Share on other sites More sharing options...
Recommended Posts