alrighty, gots bored and tried to do this o.o;
sooo here's how =3
Requirement's
- Basic NPC scripting
- A cookie for payment
first off, add this~
on any npc ;P
example:
should look liek this =]
NEXT :
add this to the NPC
now if chu click 'ok' this will come up =3
Have fun~!
sooo here's how =3
Requirement's
- Basic NPC scripting
- A cookie for payment
first off, add this~
PHP:
cm.sendGetText("Who are you?");
example:
PHP:
else if (status == 0) {
cm.sendGetText("Who are you?");
}
should look liek this =]
NEXT :
add this to the NPC
PHP:
else if (status == 1) {
cm.sendOk("Hello #b" + cm.getText() + "#k!");
cm.dispose();
}
now if chu click 'ok' this will come up =3
Have fun~!
Last edited: