Work with this:
http://nwvault.ign.com/View.php?view=Other.Detail&id=625 It's Lilac Soul's script generator. It will write basic scripts for many different situations. It's a great learning tool to help you write your own scripts.
Also check this out:
http://www.nwn2scripting.com/
Good place to learn basic scripting also.
Also, check out and post questions in this forum:
http://social.bioware.com/forum/1/category/164/index To get you started, this script would be placed on the npc's heartbeat. Heartbeats run every 6 secs. The script will place 2 arrows in the npc's inventory, and then equip them in the arrow slot. I'm not guaranteeing how effective this script is. It's been a long time since I scripted.
#include "ginc_param_const"
void main()
{
object oNPC = OBJECT_SELF;
object oItem = CreateItemOnObject("nw_wamar001", oNPC, 2);
ActionEquipItem(oItem, 11);
}