For the other script, this is what the generator created:
/* Script generated by
Lilac Soul's NWN Script Generator, v. 2.3
For download info, please visit:
http://nwvault.ign.c...&id=4683&id=625 */
//Put this on action taken in the conversation editor
#include "nw_i0_generic"
void main()
{
object oPC = GetPCSpeaker();
object oTarget;
oTarget = GetObjectByTag("01");
AdjustReputation(oPC, oTarget, -100);
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
oTarget = OBJECT_SELF;
AdjustReputation(oPC, oTarget, -100);
SetIsTemporaryEnemy(oPC, oTarget);
ActionAttack(oPC);
DetermineCombatRound(oPC);
}
Dont know if it's the right one. It's for making a creature attack a nonplayable after he's done talking with the hero. The creature kills the nonplayable, and it then attacks you.