I want to disable other players emotes in the console
squelchDomains didn't do much...
The string I want to disable is
[dist=<#>] <Character name> (<index>): *(emote)*
Example:
[dist=5] Botter_2011 (4): *Ok*
Disable other player's emoticons
Moderator: Moderators
-
- Developers
- Posts: 1798
- Joined: 05 Dec 2008, 05:42
- Noob?: Yes
Re: Disable other player's emoticons
Code: Select all
--- openkore/trunk/src/Network/Receive/ServerType0.pm (revision 7763)
+++ openkore/trunk/src/Network/Receive/ServerType0.pm (working copy)
@@ -2717,6 +2717,7 @@
my ($self, $args) = @_;
my $emotion = $emotions_lut{$args->{type}}{display} || "<emotion #$args->{type}>";
+ return unless $args->{ID} eq $accountID;
if ($args->{ID} eq $accountID) {
message "$char->{name}: $emotion\n", "emotion";
chatLog("e", "$char->{name}: $emotion\n") if (existsInList($config{'logEmoticons'}, $args->{type}) || $config{'logEmoticons'} eq "all");