In the control NPC script, something like this:
PHP Code:
function onActionPlayerOnline()
{
temp.weapons = { "weapon1", "weapon2" };
for ( temp.weapon : weapons )
{
player.addweapon( weapon );
}
}
I recommend using my control-npc I released, it will do most of this for you. (
http://forums.graalonline.com/forums...ad.php?t=77750)