Dykam / tabbychat

TabbyChat chat mod for Minecraft
16 stars 0 forks source link

Detect more PM formats #44

Closed Brottweiler closed 10 years ago

Brottweiler commented 10 years ago

TabbyChat does not detect PM's with the formatting that is from CommandBook (To Player): message (From Player): message

It does seem to detect

'From Player' and 'To Player'

So, could you possibly just add in the regex to detect if there is parentheses around it or anything else like brackets?

Also, on some servers, there might be a usage of both a plugin's /msg and vanilla /tell, and I think there might be conflicts, where I use /msg while the player responds with /tell.

What happens is that when I PM them, it goes to a new tab, but when they respond it does not. On one server, this was the formatting: To Player: message Player whispers: message

I see that TabbyChat indeed detects

Player whispers to you

But it does not detect that only ^

I am not entirely sure if that was actually custom or not. If it is, I could probably easely just make the replies forward to the tab with the username, but that forces me to actually PM them first, to get a "PM tab" created, because only "PM tabs" have pre-written /msg Player etc. in them.

mattmess1221 commented 10 years ago

I'm not the best at regex. Did I do good?

mattmess1221 commented 10 years ago

I added a setting 887daa3e456b6909bac3529690800a2611a35158