itsKimo Posted October 24, 2021 Share Posted October 24, 2021 (edited) This is a little chat reaction script I made. Please don't send hate, just keep it to yourself, let me know if you have any suggestions! HOW IT WORKS Spoiler HELP Spoiler ADDING REACTIONS Spoiler ADDING EXISTING REACTIONS Spoiler REMOVING REACTIONS Spoiler REMOVING NON-EXISTANT REACTIONS Spoiler LIST Spoiler LEADERBOARD Spoiler KimoReactions.sk Don't want to install a file? Copy it from the code below. Keep in mind you need OP to use these commands. Enjoy! Spoiler every minute: if {reactions} is not set: send "&b&lKIMO REACTIONS &8| &bLooks like nobody got the word in time..." to all players set {reactions} to true every minute: set {reaction} to random element out of {reactionlist::*} if {reactions} is set: send "&b&lKIMO REACTIONS &8| &bFirst to say &7%{reaction}% &bgets 100 points!" to all players clear {reactions} on chat: if message contains "%{reaction}%": if {reactions} is not set: cancel event send "&b&lKIMO REACTIONS &8| &7%player% &bgot the word first and won 100 points!" to all players clear {reactiontime} set {reactions} to true add 1 to {reactionwins::%player's uuid%} add 100 to {points::%player's uuid%} command /reaction <text> [<text>]: usage: &cUsage: /reaction help permission: op trigger: arg-1 is not "add" or "remove" or "list" or "help" or "top": send "&cUsage: /reaction help" to player else if arg-1 is "help": if arg-2 is set: send "&cUsage: /reaction help" to player else: send "&bKimo Reactions Help%nl%&b/reaction add (word) &7- adds a word to the reaction list%nl%&b/reaction remove (word) &7- removes a word from the reaction list%nl%&b/reaction top &7- shows you the top reaction wins%nl%&b/reaction list &7- shows you the reaction list%nl%&b/reaction help &7- brings this chat message%nl%&7&oKimo Reactions - Made by itsKimo" to player else if arg-1 is "top": if arg-2 is set: send "&cUsage: /reaction top" to player else: loop {reactionwins::*}: add 1 to {_size} if {_low.to.high.list::%loop-value%} is not set: set {_low.to.high.list::%loop-value%} to loop-index else: set {_n} to 0 loop {_size} times: set {_n} to {_n}+1 {_low.to.high.list::%loop-value-1%.%{_n}%} is not set set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index stop loop wait 1 tick set {_n} to size of {_low.to.high.list::*} loop {_low.to.high.list::*}: set {_high.to.low.list::%{_n}%} to loop-value set {_n} to {_n}-1 wait 1 tick send "&bKimo Reactions Top 10" to player loop {_high.to.low.list::*}: add 1 to {_result} set {_a} to loop-value parsed as an offlineplayer send "&b%{_a}% &7- &b%{reactionwins::%loop-value%}% Reaction Wins" to player if {_result} is 10: stop else if arg-1 is "add": arg-2 is not set: send "&cUsage: /reaction add (word)" to player else: if {reactionlist::*} does not contain arg-2: add arg-2 to {reactionlist::*} send "&aWord ""%arg-2%&a"" added!" to player else: send "&cThis word is already in the list!" to player else if arg-1 is "remove": arg-2 is not set: send "&cUsage: /reaction remove (word)" to player else: if {reactionlist::*} contains arg-2: remove arg-2 from {reactionlist::*} send "&cWord ""%arg-2%&c"" removed." to player else: send "&cThis word is not in the list!" to player else if arg-1 is "list": if arg-2 is set: send "&cUsage: /reaction list" to player else: if size of {reactionlist::*} <= 0: send "&bReaction Words: N/A" to player else: send "&bReaction Words: %{reactionlist::*}%" to player Edited October 24, 2021 by itsKimo 1 1 Link to comment Share on other sites More sharing options...
Punish Posted October 24, 2021 Share Posted October 24, 2021 (edited) pretty kool 9.6/10 Rated not tested but seems like no error in the skript Edited October 24, 2021 by ImNoLongerOnline Every time you tell a lie, You'll have to tell a 100 more. Link to comment Share on other sites More sharing options...
itsKimo Posted October 24, 2021 Author Share Posted October 24, 2021 1 hour ago, Pryme said: pretty kool 9.6/10 Rated not tested but seems like no error in the skript thanks! Link to comment Share on other sites More sharing options...
skFox Posted October 25, 2021 Share Posted October 25, 2021 looks awesome since i havent tested it, i'll say its 7/10 since it probably works fine and it looks great. question- does it give items, or money, or just leaderboard ranking on answering correctly? Hello. I'm Generic. My IGN is popularkid. I know its silly. ⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸ Pronouns: He/Him ⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸ Discord: Generic Username#2861 ⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸ Joined Minehut ◄«◊»► 10/13/2019 ◄«◊»► ⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸ ▻Default◅ | 10/13/2019 - Current Time Link to comment Share on other sites More sharing options...
Pryzmm Posted October 25, 2021 Share Posted October 25, 2021 2 hours ago, GenericUsername said: looks awesome since i havent tested it, i'll say its 7/10 since it probably works fine and it looks great. question- does it give items, or money, or just leaderboard ranking on answering correctly? it adds 100 to {points::%player's uuid%} 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...
skFox Posted October 25, 2021 Share Posted October 25, 2021 cool, thanks Hello. I'm Generic. My IGN is popularkid. I know its silly. ⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸ Pronouns: He/Him ⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸ Discord: Generic Username#2861 ⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸ Joined Minehut ◄«◊»► 10/13/2019 ◄«◊»► ⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸ ▻Default◅ | 10/13/2019 - Current Time Link to comment Share on other sites More sharing options...
itsKimo Posted October 25, 2021 Author Share Posted October 25, 2021 2 minutes ago, GenericUsername said: cool, thanks yeah as that guy said, it adds 100 to {points::%player's uuid%} can always be changed tho if u know a little skript Link to comment Share on other sites More sharing options...
skFox Posted October 26, 2021 Share Posted October 26, 2021 ye, thanks Hello. I'm Generic. My IGN is popularkid. I know its silly. ⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸ Pronouns: He/Him ⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸ Discord: Generic Username#2861 ⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸ Joined Minehut ◄«◊»► 10/13/2019 ◄«◊»► ⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸ ▻Default◅ | 10/13/2019 - Current Time 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