Log in

View Full Version : Please help:)



Phyriusek
07-08-2017, 02:28 PM
Hello. I need a script, exactly when the character sends a message to my second character, i will go to label.

I found something like this but unfortunately it does not work.

local leaders = {"name"}

PrivateMessageProxy.OnReceive("", function(proxy, speaker, level, message)
if (table.find(leaders, string.lower(speaker) and string.lower(message == "goto xxx")) then
Walker.Goto("xxx")
end
end)

Please help:)