Code = that those npc stuff , commands and many more nid to use java code to code it ~ for example ~
function action(mode, type, selection) {
if (mode == -1) {
cm.dispose();
} else {
if (mode == 0 && status == 0) {
cm.dispose();
return;
}
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendSimple ("Pick a Category#e#d" +
"#k\r\n#L80##rMagician Equips" +
"#k\r\n#L81##rTheif Equips" +
"#k\r\n#L82##rWarrior Equips" +
"#k\r\n#L83##rArcher Equips" +
"#k\r\n#L84##rPirate Equips" +
"#k\r\n#L85##rCommon Equips" +
"#k\r\n#L87##rCash Items" +
"#k\r\n#L88##rBuy NX Cash" +
"#k\r\n#L86##rETC");
This is the All in one shop from the npc ~