I was making a script to Auto Response like This
Player:What is BLID 12247?
Me:BLID 12247 is Me.
But it says Nested add-on Will not execute in console i will get script later
Ok heres the script
package Id {
function clientCmdChatMessage(%c,%a,%b,%fmsg,%cs,%name,%cp,%msg)
{
parent::clientCmdChatMessage(%c,%a,%b,%fmsg,%cs,%name,%cp,%msg);
if(getSubStr(%msg,0,strlen("What is BlId number ")) $= "What is Blid number ")
{
%Id = getWords(%msg,4);
%Id = getsubstr(%Id,0,strlen(%Id)-1);
if($Name[%Id] !$= "")
{
commandtoserver('messagesent',"The hex for" SPC %Id SPC "is [" SPC $Name[%Id] SPC "]");
}
}
}
};
Activatepackage(Id);
//Fill in hex codes here
$Name["12247"] = "ChocoboPah";
$Name["6168"] = "camera";