• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] World Chat Support - Ignore Function

Status
Not open for further replies.

ExonatioN

Noble Member
Hey everyone,
So I was wondering regarding this script - (Or any other world chat script in general) http://emudevs.com/showthread.php/519-World-Chat

How would I go along, doing so if you ignore x player then you would not be able to see him chatting in the world chat either?

For example, I ignored Tommy, -> Tommy texts in the world chat -> I cannot see him texting there because I ignored him.

Probably a core modification, or?

-- TrinityCore 4.3.4
- Thanks in advance!
 

Tommy

Founder
Hey everyone,
So I was wondering regarding this script - (Or any other world chat script in general) http://emudevs.com/showthread.php/519-World-Chat

How would I go along, doing so if you ignore x player then you would not be able to see him chatting in the world chat either?

For example, I ignored Tommy, -> Tommy texts in the world chat -> I cannot see him texting there because I ignored him.

Probably a core modification, or?

-- TrinityCore 4.3.4
- Thanks in advance!

Could probably check the player's ignore list then add a statement to not show that player's message if on the ignorer's list.
 

ExonatioN

Noble Member
Could probably check the player's ignore list then add a statement to not show that player's message if on the ignorer's list.

Hm, right. I thought about something like that, had any code/example of the statement in mind though?
 

Rochet2

Moderator / Eluna Dev
You could have searched the function you need through the opcode handlers for ignore.
However, here it is:

Code:
if (player->GetSocial()->HasIgnore(sender->GetGUIDLow()))
    return;
 
Status
Not open for further replies.
Top