Regex: (?i)§r§9Party §8> (.+?)§f: §r(?:at|in|inside) (.+?)§r
Display text: %%1%%§f: %%2%%
#Positonal Messages Notification
1 messages · Page 1 of 1 (latest)
Trigger:
(?i)§r§9Party §8> (?:§.\[[^\]]+\])?(§.\w+)(?:§.)+: §r(?:at|in|inside) (.+?)§r
Display Text:
%%1%%§f: %%2%%
I was bored and tried to make it apply the rank color but without the [rank] (I'm not gonna test this in-game)
this seems to work in regex 101 based on the same samples I used for the first one to only capture the rank's color code and not the rank itself
Regex: (?i)§r§9Party §8> (.+?)(?:\[[^]]*?])? ?(\w{1,16})§f: §r(?:at|in|inside) (.+?)§r
Display text: %%1%%%%2%%§f: %%3%%
Oh damn the color doesn't get put again after the rank? ig I misremembered
yours breaks without a rank so this is the final one I think? (Also swapped back to \w+ cause I like it better)
Regex: (?i)§r§9Party §8> ((?:§.)+)(?:\[[^]]*?] )?(\w+)(?:§.)+: §r(?:at|in|inside) (.+?)§r
Display text: %%1%%%%2%%§f: %%3%%
(I did (?:§.)+ cause hypixel loves to put multiple color codes sometimes)
Maybe have it not capture it the username is ur own username?
Would have to have each user write their own name but shouldn't be too bad
Does the %%MC_IGN%% not exist for this? idk
No idea I am not fully familiar with the skytils implementation
tbh I don't know/remember how to specifically not match a text
I think this works, just don't know about excluding the name
Maybe smth like this
(?i)§r§9Party §8> ((?:§.)+)(?:[[^]]*?] )?(?!(?:%%MC_IGN%%)\b)(\w+)(?:§.)+: §r(?:at|in|inside) (.+?)§r