12-04-2015, 06:56 AM
alguien me puede pasar una scrip que cuando le manden un wisp con un comando ese pj le mande pt automatico.
function OnCreate()
invText = "givemept"; --DEFINE INVITATION PM
end;
function OnChatUserMessage(chatType, nick, msg)
if (chatType == 2) then
if (string.lower(msg) == invText) then
Command('/invite '..nick);
end;
end;
end;
esta es la que tengo pero no funciona
function OnCreate()
invText = "givemept"; --DEFINE INVITATION PM
end;
function OnChatUserMessage(chatType, nick, msg)
if (chatType == 2) then
if (string.lower(msg) == invText) then
Command('/invite '..nick);
end;
end;
end;
esta es la que tengo pero no funciona