Parsafari Posted December 18, 2020 Share Posted December 18, 2020 Ok so I was bored so I decided to make a reaction message script. This is basically what the script does: Here is the script: (you can download the script or copy & paste this one) (Important info at the end of the post) every 210 seconds: set {reactionmessage} to random integer between 0 and 5 #Replace 5 with the number of words you want #Copy & paste this section and replace the number and the word to your likings. #============= if {reactionmessage} is equal to 0: set {reactionword} to "FariMC" #============= if {reactionmessage} is equal to 1: set {reactionword} to "Prison" if {reactionmessage} is equal to 2: set {reactionword} to "Mining" if {reactionmessage} is equal to 3: set {reactionword} to "Plots" if {reactionmessage} is equal to 4: set {reactionword} to "Discord" if {reactionmessage} is equal to 5: set {reactionword} to "Tokens" set {reactionenabled} to 1 broadcast "" broadcast "&bFirst person to type &e%{reactionword}% &bwins 10 Tokens." broadcast "" set {reactiontimer} to 0 wait 1 seconds add 1 to {reactiontimer} wait 1 seconds add 1 to {reactiontimer} wait 1 seconds add 1 to {reactiontimer} wait 1 seconds add 1 to {reactiontimer} wait 1 seconds add 1 to {reactiontimer} wait 1 seconds add 1 to {reactiontimer} wait 1 seconds add 1 to {reactiontimer} wait 1 seconds add 1 to {reactiontimer} wait 1 seconds add 1 to {reactiontimer} wait 1 seconds add 1 to {reactiontimer} wait 1 seconds add 1 to {reactiontimer} wait 1 seconds add 1 to {reactiontimer} wait 1 seconds add 1 to {reactiontimer} wait 1 seconds add 1 to {reactiontimer} wait 1 seconds add 1 to {reactiontimer} set {reactionenabled} to 0 if {reactionanswered} is equal to 1: set {reactionanswered} to 0 else: broadcast "&cNobody got the word in time :(" on chat: if message contains "%{reactionword}%": if {reactionenabled} is equal to 1: if {reactionanswered} is equal to 0: cancel event broadcast "&e%player% &bwon in %{reactiontimer}% seconds!" set {reactionanswered} to 1 #Do Stuff Here Here are some example rewards that you can put at #Do Stuff Here: give 5 of diamond to player - this one gives 5 diamonds to the player Execute console command "eco give %player% 1000" - this one gives 1000$ to the player (requires essentialsX) or any other command If you find any bugs or have any suggestions leave a reply down below! Btw I have a game development channel, you can check it out if you are interested! : Click Here! You can also download the skript file here: ReactionMessage.sk Indie Game Developer C# Programmer & Skripter Link to comment Share on other sites More sharing options...
iiFlameYT Posted February 21, 2021 Share Posted February 21, 2021 When someone type the word, nothing happens Link to comment Share on other sites More sharing options...
Migins Posted February 22, 2021 Share Posted February 22, 2021 Locked - Necroposting Please refrain from posting on threads that have been inactive for over a month. ► Support July 29, 2020 → November 3, 2020 ► Helper November 3, 2020 → February 22, 2021 ► Moderator February 22, 2021 → May 17, 2021 ► I might not always respond to forum dms, however I am always contactable on discord (mig#0069) Link to comment Share on other sites More sharing options...
Recommended Posts