Blank NPC talking script
This script was made so that you can simply inform players about anything you want. You can tell them 6 message with this script. Tested and everything. That way, noobs dont ask 'can some1 script an npc that talks', just link them to this page! Don't forget to edit the message you want. I would lol so hard if some noob leeched the script below and didnt edit it. Then when you click the NPC, all it says is MESSAGE HERE. xD
I forgot if the base as made by someone else. If so credits to that person. If not credits to me.PHP Code:var status = 0;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (status == 6 || mode == -1) {
cm.dispose();
} else {
if (status == 5) {
status = 6;
return;
}
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendNext("MESSAGE HERE");
} else if (status == 1) {
cm.sendNextPrev("MESSAGE HERE")
} else if (status == 2) {
cm.sendNextPrev("MESSAGE HERE");
} else if (status == 3) {
cm.sendNextPrev("MESSAGE HERE");
} else if (status == 4) {
cm.sendNextPrev("MESSAGE HERE");
} else if (status == 5) {
cm.sendOk("MESSAGE HERE");
cm.dispose();
}
}
}


Reply With Quote![[Release] Blank NPC talking script.](http://ragezone.com/hyper728.png)


