when i update my "Control-NPC" it says this
Quote:
The script of NPC Control-NPC has been updated by Graal707396
al,ac,at
|
inside the Control-NPC is this
PHP Code:
function onActionPlayerOnline()
{
for (temp.i: ({"tileset", "chat profiles"}))
player.addweapon(i);
player.setlevel2("onlinestartlocal.graal", 29.5, 29.5);
}
why does it do that?? it is doing my sorting weapon script everytime i update it, here is my sorting npc weapon
PHP Code:
function onCreated()
{
temp.a = {{"ac", 4}, {"at", 7}, {"al", 1}};
temp.e = {};
temp.c = null;
for (temp.i: a)
{
e.add(i[0]);
e[c].sortvalue = i[1];
c++;
}
e.sortbyvalue("sortvalue", "float", true);
echo(e);
}
why does it keep echoing it??