From a788959d7dfee1d9d03a0de6f4de699eb55184b2 Mon Sep 17 00:00:00 2001 From: Elson Costa Date: Wed, 21 Feb 2024 10:37:35 -0300 Subject: [PATCH] When player login, open guild channel. --- data-otservbr-global/scripts/creaturescripts/others/login.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data-otservbr-global/scripts/creaturescripts/others/login.lua b/data-otservbr-global/scripts/creaturescripts/others/login.lua index 5efdc68d263..8457209e90a 100644 --- a/data-otservbr-global/scripts/creaturescripts/others/login.lua +++ b/data-otservbr-global/scripts/creaturescripts/others/login.lua @@ -33,6 +33,9 @@ function playerLogin.onLogin(player) else player:openChannel(3) -- World chat player:openChannel(5) -- Advertsing main + if player:getGuild() then + player:openChannel(0x00) -- guild + end end return true end