Hey Ragezone!
This is my first release.
-- Custom Quest --
It's a mini Quest, i will add more later on. You need to talk to Rock, Paper, Scissor Admin to begin the quest.
She will warp you to a map in Happyville and will give you 4000 big snowballs and a Magical Kitten.
When you are in the map talk to:PHP Code:/*
Rock, Paper, Scissor Admin - Warp to Custom Quest Place (from Free Market)
Credits to Admin of The 4 Story
*/
function start() {
cm.sendSimple("Hey #h #, i can warp you to the custom quest of #r[B][Your Server Name][/B]#k! Do you want to go in or do you want some information?\r\n#L0##bI would like to do the custom quest.#k#l\r\n#L1##bIn want some information.#k#l");
}
function action(mode, type, selection) {
switch (selection) {
case 0:
cm.warp(209080000, 0) break;
case 1:
cm.sendOk("If you want to do the quest i will warp you to a map in Happyville to fight the big snowman! If you defeated him you need to pick up the presents to trade for an nice reward!")
cm.dispose();
}
cm.dispose();
}
He will warp the snowman.
Once you did that he will summon the Snowman:PHP Code://Credits: jewoenii of The 4 Story
var mob = Array(9400708);
function start() {
cm.sendSimple("--------------------------#e Snowman Spawner --------------------------#n \r\n\r\nHey #h #, i'm can summon the Snowman for you!#b\r\n#L0#I'm ready!#l#k");
}
function action(mode, type, selection) {
cm.summonMob(mob[selection]);
} else {
cm.sendOk("Ok tell me when you are ready.");
}
cm.dispose();
}
If you killed him he will drop presents and you can exchange that with the reward NPC.
I hope you like itPHP Code:// Credits to jewoenii of The 4 Story
var status = 0;
var map = Array(240010501);
function start() {
status = -1;
action(1, 0, 0);
}
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("#e-------------------------- Reward NPC --------------------------#n\r\n\r\nHey #h #, I can trade the presents you found for some nice rewards! Choose the reward that you want:\r\n\r\n#L1# 1x #b#v4000425##k for 4x #b#v2101024##k #l\r\n#L2# 10x #b#v4000425##k for 1x #b#v1082223##k #l");
} else if (status == 1) {
if (selection == 1) {
if(cm.haveItem(4000425, 1)) {
cm.gainItem(4000425, -1);
cm.gainItem(2101024, 4);
cm.sendOk("Thank you for your Present!");
} else {
cm.sendOk("Sorry, you don't have enough Presents!");
}
cm.dispose();
} else if (status == 2) {
} else if (selection == 2) {
if(cm.haveItem(4000422, 10)) {
cm.gainItem(4000422, -10);
cm.gainItem(1082223, 1);
cm.sendOk("Thank you for your Presents!");
} else {
cm.sendOk("Sorry, you don't have enough Presents!");
}
cm.dispose();
}
}
}
}
.



!





.
Reply With Quote![[Release] Custom Quest.](http://ragezone.com/hyper728.png)


