The dev contiune here
ZalaMs dev
::
ZalaMs categories
::
Release section
::
[Release] White Scroll Maker NPC (OdinMS)
Post a reply
Username
Subject
Message body
x
YouTube
Dailymotion
x
px
Tiny
Small
Normal
Large
Huge
Dark Red
Red
Orange
Brown
Yellow
Green
Olive
Cyan
Blue
Dark Blue
Indigo
Violet
White
Black
Arial
Arial Black
Comic Sans Ms
Courier New
Georgia
Impact
Times New Roman
Trebuchet MS
Verdana
Index
Exponent
Spoiler
Hidden
Horizontal scrolling
Vertical scrolling
Random
WoW
x
Ok
Ok
Ok
x
px
Ok
YouTube
Dailymotion
Ok
Tiny
Small
Normal
Large
Huge
Dark Red
Red
Orange
Brown
Yellow
Green
Olive
Cyan
Blue
Dark Blue
Indigo
Violet
White
Black
Arial
Arial Black
Comic Sans Ms
Courier New
Georgia
Impact
Times New Roman
Trebuchet MS
Verdana
Index
Exponent
Spoiler
Hidden
Horizontal scrolling
Vertical scrolling
Random
WoW
Close Tags
Options
Options
HTML is OFF
BBCode
is ON
Smilies are ON
Disable BBCode in this post
Disable Smilies in this post
Jump to:
Select a forum
|
|--ZalaMs categories
| |--Release section
| |--Leech
|
|--ZalaMs Disscussion
|--ZalaMs Patches
|--Screenshots and photos
|--ZalaMs dev
|--ZalaMs Repacks
|--Spam Section
|--,0.59 ,0.59 Repacks Download
|--Bugs Post here
|--How to start up server user ZalaMs repack
Topic review
Author
Message
metaL
Sat Aug 16, 2008 12:20 pm
Topic: [Release] White Scroll Maker NPC (OdinMS)
Hey, I decided to make this for my server and I'll release it to you guys to.
You can Make the Piece of Scroll (4001136) drop from anything you want.
Code:
// White Scroll Maker By Sawyer of LynnStory
//High Preist John (9201002)
importPackage(net.sf.odinms.client);
var status = 0;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1) {
cm.dispose();
} else {
if (status >= 2 && mode == 0) {
cm.sendOk("Rawr!?");
cm.dispose();
return;
}
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendNext("I am John and if you have all of the materials I will make you a White Jesus Scroll!!! You will need #b5 Pieces of Scroll#k, #bHoly Water#k, and #b10 Mill Mesos#k. ");
}
else if (status == 1) {
if ((cm.haveItem(4001136, 5)) && (cm.haveItem(2050003)) && (cm.getMeso() >= 10000000)) {
cm.sendYesNo("It seems like you have the required materials, do you want me to make a #bWhite Scroll#k for you?");
}
else if (!cm.haveItem(4001136, 5)) {
cm.sendOk("You dont have the required items.");
cm.dispose();
}
else if (!cm.haveItem(2050003)) {
cm.sendOk("You dont have the required items.");
cm.dispose();
}
else if (!cm.getMeso() <= 10000000) {
cm.sendOk("You dont have the required items.");
cm.dispose();
}
}
else if (status == 2) {
cm.gainMeso(-10000000);
cm.gainItem(4001136, -5);
cm.gainItem(2050003, -1);
cm.gainItem(2340000, 1);
cm.dispose();
}
}
}