Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Paste into the chat filter
- IFMATCHES(%CHATCLEAN%,"^Notice: That (.+) is locked by ([\w\d]+) \(([a-f\d\-]+)\)\.$")
- MATCH(%CHATCLEAN%,"^Notice: That (.+) is locked by ([\w\d]+) \(([a-f\d\-]+)\)\.$",{&lockblock,&lockplayer,&uuid})
- &json := "[\"\",{\"text\":\"(%&uuid%)\",\"color\":\"yellow\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://namemc.com/profile/%&uuid%\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"\",\"extra\":[{\"text\":\"Click this UUID to open its namemc.com page.\",\"color\":\"red\"}]}}}]"
- LOG("&4Notice: &fThat &4%&lockblock% &fis locked by &e%&lockplayer%")
- LOGRAW(%&json%)
- FILTER()
- ENDIF
Advertisement
Add Comment
Please, Sign In to add comment