Minecraft PC IP: play.cubecraft.net

So?


  • Total voters
    25

SanCookie

Gameplay Engineer
Mar 18, 2017
2,306
12,764
498
22
the selfie area
bit.ly
Pronouns
He/Him
Make a text file with the following lines, and make it run through the OnChat section in the events tab of the GUI.
STRIP(&chat, %CHAT%)
ifcontains(%&chat%," -> Me: ")
volume(0)
volume(100)
playsound(custom.NaviListen)
endif


Imagine you called the text file with the script "chat". What you put into the OnChat section would have to be $${ $$<chat.txt> }$$

The playsound has to be changed depending on what sounds you have in your macro mod sounds folder.
The directory for the sounds folder is: .minecraft -> liteconfig -> common -> macros -> sounds
If you don't see a sounds folder, make one. Make sure that the sounds you put in there are .ogg files, because it won't work otherwise.
Make sure you always put custom.(soundname) in the script, just like I put custom.NaviListen. Also make sure to capitalize letters in the sound name if there's capitalization in the sounds folder.

I'm currenlty using the 1.11.2 version of the macromod too, by the way.
(also, with that script, you also get notification sounds for normal pm's too)
Tyvm! I was looking for something which was unique in a friend message but I guess the "-> Me:" part is the best way to do this, also will i get notified twice for every chat message now? because i've the cubecraft pling notification on.
 

Gainfullterror

Forum Professional
Mar 24, 2016
5,040
10,898
624
22
Breakfast for Dinner Club HQ
www.cubecraft.net
Tyvm! I was looking for something which was unique in a friend message but I guess the "-> Me:" part is the best way to do this, also will i get notified twice for every chat message now? because i've the cubecraft pling notification on.
Probably so, since the cube one is done separately from the macro mod reaction.
 
  • Like
Reactions: SanCookie
Members Online

Team online

Latest profile posts

How do you make spoilers with a name?
Reesle wrote on ZachTart26's profile.
Welcome to the Official Cubecraft Forums! If you need help with something, feel free to DM me or a staff member anytime! Have a great day! :D
Reesle wrote on CalvinxKlein's profile.
Happy Birthday! 🎂
Top Bottom