[Release Job Warp STARTER!]

Newbie Spellweaver
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:
Sorry never knew. But could you tell me if it would work or not? etc the standard and quality of it?
If it's all typed correctly?
 
Lol. Could you explain to me why it wont work? What i did wrong? and how do i improve and make it work?

Because i only started 2-3 days ago and it would help an extreme lot if you explained why and how and such.
 
I fail to see what's NOT wrong about it..

I suggest you'd lookup on some javascript tutorials first.
 
Basically the purpose of the code is to warp Beginners to Henesys and Thiefs Mage's Bowmans and Thief all job advancements to Ellinia.

But is it correct and Will it work?
 
Basically the purpose of the code is to warp Beginners to Henesys and Thiefs Mage's Bowmans and Thief all job advancements to Ellinia.

But is it correct and Will it work?
No. In fact, the only part that is correct is this:
Code:
/* Nancy = 9201007
Have fun editing.
*/
var map1 = 100000000;
var map2 = 101000000;

Like, I said, please look up some javascript tutorials first.
 
Okay thanks anyways. I'll have another look around. =] Thank for your help.

Also. Could you recommend any? Links etc.
 
Okay thanks anyways. I'll have another look around. =] Thank for your help.

Also. Could you recommend any? Links etc.
Nope. I haven't used any javascript tutorials so I don't know which to recommend. I guess you learn the most from just editing other NPCs. I must say, the NPCs aren't exactly easy to code and I struggle sometimes too.
 
No. In fact, the only part that is correct is this:
Code:
/* Nancy = 9201007
Have fun editing.
*/
var map1 = 100000000;
var map2 = 101000000;

Like, I said, please look up some javascript tutorials first.

You do know that javascript and java are completely different right?
 
(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)();
}
You can't use cm commands like that.

cm.sendNext ("TEXT");
cm.warp (ID); < Or what ever you did in you script >

Go for the tutorials and you might learn something :) good luck!
 
what the heck of a question is that? ofcourse I do.

I fail to see what's NOT wrong about it..

I suggest you'd lookup on some javascript tutorials first.

No. In fact, the only part that is correct is this:
Code:
/* Nancy = 9201007
Have fun editing.
*/
var map1 = 100000000;
var map2 = 101000000;

Like, I said, please look up some javascript tutorials first.
Well you called it javascript, so yea
 
Back