View Full Version : If player Say then go to label
pawlacz
03-26-2016, 02:17 PM
Hello
Its any function if player say (need player name and what he must say) then go to label XX
Jontor
03-26-2016, 08:06 PM
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)
Sheradial
03-26-2016, 11:49 PM
Hello
Its any function if player say (need player name and what he must say) then go to label XX
exiva "license
malaoko
12-17-2016, 10:57 PM
guys i have a problem this script dont work i must add one ")" and next problem is here :
Line #: 4
Chunk: C:?Users?Seba?DOCUME?1?XenoBot?Scripts??AA1A3D?1.L UA
Error: bad argument #1 to 'lower' (string expected, got boolean)
This is an error with user-input and should not be reported as a bug with XenoBot.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.