- Joined
- Oct 14, 2006
- Messages
- 23
- Reaction score
- 0
Hey. This is my first ever full JS Code. Please tell me if it is working because for some reason i can't get my test server up. Any help is appreciated [email protected]
Code:
// Made by Lee Robertson of TechnoMS!
/* Nancy = 9201007
Have fun editing.
*/
var map1 = 100000000;
var map2 = 101000000;
{
(cm.sendNext)("Hello. Welcome to TechnoMS. I am one of the edited NPC's. This was coded by Lee and was his first ever NEW Npc coding. Please congratulate him if it works.");
(cm.sendNext)("Thank you for playing #bTechnoMS#k");
(cm.sendOk)("Press okay to be warped. =]");
}{
if (cm.getJob)() = 0;
(cm.sendNext)("You will now be warped to Henesys");
(cm.warp)(map1);
(cm.sendNext)("Have fun")
(cm.sendOk)("Please post on how you thought this was")
(cm.dispose)();
}{
else (cm.getJob)() >= 1;
(cm.sendNext)("You will now be warped to Ellinia");
(cm.warp)(map2);
(cm.sendNext)("Have fun");
(cm.sendOk)("Please post on how you thought this was");
(cm.dispose)();
}
Last edited: