Madlirex Posted November 27, 2021 Share Posted November 27, 2021 Hi! I need skript, when you will do command /playergroups admins add <player> it will add player’s uuid to one variable named “Adminsuuid” and his nick to other one named “Admins” and it will send you “Added (player) to admins”, when you will do command /playergroups admins list it will send to chat you list of the players what are in variable “Admins” and when you will do command /playergroups admins remove <player> it will remove player’s uuid from “Adminsuuid” and his nick from “Admins” and it will send you “Removed “player” from admins”. (I am making skripts for my server with plugin Skript) Link to comment Share on other sites More sharing options...
ram3n_nabi Posted November 28, 2021 Share Posted November 28, 2021 Hi Madlirex, I moved your post to Marketplace so you can get better responses. Please make sure to post under the correct category. Good luck! Link to comment Share on other sites More sharing options...
huhu75466545325256 Posted November 30, 2021 Share Posted November 30, 2021 (edited) I have a possible way for you. I don't know if it is how you wanted it but if not just write what's wrong and i can fix it for you. If you have any questions write them to me and not in this conversation. command /playergroups <player>: trigger: set {Adminsuuid} to "%uuid of arg-1%" set {playername} to "%arg-1%" add "%arg-1%" to {alladmins} send "Added %{playername}% to adminlist" to player send "UUID ofplayer: %{Adminsuuid}%" to player add arg 1 to {Admins::*} command /adminlist: trigger: send "Admins: %{Admins::*}%" to player command /remove <player>: trigger: set {Adminsuuid} to "" remove arg 1 from {Admins::*} send "Removed %arg-1% from adminlist" to player Edited November 30, 2021 by huhu75466545325256 Link to comment Share on other sites More sharing options...
Pryzmm Posted December 1, 2021 Share Posted December 1, 2021 23 hours ago, huhu75466545325256 said: I have a possible way for you. I don't know if it is how you wanted it but if not just write what's wrong and i can fix it for you. If you have any questions write them to me and not in this conversation. command /playergroups <player>: trigger: set {Adminsuuid} to "%uuid of arg-1%" set {playername} to "%arg-1%" add "%arg-1%" to {alladmins} send "Added %{playername}% to adminlist" to player send "UUID ofplayer: %{Adminsuuid}%" to player add arg 1 to {Admins::*} command /adminlist: trigger: send "Admins: %{Admins::*}%" to player command /remove <player>: trigger: set {Adminsuuid} to "" remove arg 1 from {Admins::*} send "Removed %arg-1% from adminlist" to player i suggest a couple things 1. Use temp variables ({_Adminsuuid} instead of {Adminsuuid}) for things like this. 2. Make it a whole command, instead of 3 seperate ones (Maybe /AdminList <Add/Remove/List>) Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now