here's some stuff i was playing with for the quest scripts...
NPC_SCRIPT 517{
TRIGGER_TEXT:Hail:{
SAY:Hail %CHARNAME%. I am seeking young adventurers to assist in keeping the orcs from invading the city. Are you [interested]?
}
TRIGGER_TEXT:Interested:{
SAY:Glad to hear that friend. To fight in the name of the Gates of Freeport, is a mighty cause.
SAY:Now go, and return to me proof of your efforts against the invading orcs.
}
TRIGGER_ITEM:13885:{
SAY:Many thanks. Take this as payment well earned.
SPAWN_ITEM:1300
SAY:May it be of use to you in your travels.
}
}
NPC_SCRIPT 2182{
TRIGGER_TEXT:Hail:{
SAY:Hail. Do you desire assistance?
}
TRIGGER_TEXT:yes:{
CAST_SPELL 13
SPAWN_ITEM 32160
}
TRIGGER_TEXT:no:{
SAY:Infidel! I will destroy you.
ADD_HATELIST
}
TRIGGER_TEXT:heal:{
CAST_SPELL 13
}
TRIGGER_TEXT:level 60:{
SAY:So be it.
LEVEL 60
}
}
NPC_SCRIPT 354{
TRIGGER_TEXT:Hail:{
SAY:Hello %CHARNAME%. Care to buy some wares? Or shall i kill you?
}
TRIGGER_TEXT:kill me:{
ADD_HATELIST
}
}
NPC_SCRIPT 2612{
TRIGGER_TEXT:Hail:{
SAY:Greetings. Perhaps i could purchase a [favour] from you?
}
TRIGGER_TEXT:favour:{
SAY:Yes. It seems I've dropped my beetle eye in a guards pocket. If you would return it to me, I shall give you a great reward
}
TRIGGER_ITEM:13251:{
SAY:Thank you kindly stranger. Here is my payment to you.
SPAWN_ITEM 10400
EXP 100
}
}
should give good examples how set it up...
these work fine for me..
these particular ones i had setup for freportw.
|