Lineage 2 Tower Forum

Full Version: Scrip artoinvite pt
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Es codigo que mostras es un plugin, no un script. Puede ser por eso que no te funciona.
thx
Reference URL's