Aegis Support Board: HELP! - Aegis Support Board

Jump to content

ASB News! ASB 5.0 Beta V2 has now been released!. See here for more Info.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

HELP! could someone help me with my script

#1 User is offline   Jimmy Ubung 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 27-May 07

Posted 27 May 2007 - 07:25 AM

Hey people i have a script for a quest npc
he gives u alice dolls and 1 slot sunglasses
i keep erroring when i launch my map.exe could someone help


//===== eAthena Script =======================================
//= 1 Slot Sunglasses and Alice Doll Quest
//===== By: ==================================================
//= Jimmy Ubung
new_zone01.gat,54,106,2	script	Lonely Man	109,{

	mes "[Jimmy Ubung]";
	mes "Hello, I will give you an Alice Doll,";
	mes "But only if you give me some items to make it with!";
	next;
	menu "Make Doll",doll,"Make Sunglasses",sunglasses,"Requirements",req,"Run Away",away;

doll:
if(countitem(949)<100) goto noitem;
if(countitem(637)<10) goto noitem;
if(countitem(1020)<50) goto noitem;
if(countitem(5141)<1) goto noitem;
if (Zeny<30000000) goto noitem;
	mes "[Jimmy Ubung];
	mes "Ok you have the items now get ready";
	mes "I have to do something very technical";
	next;
	mes "[Jimmy Ubung];
	mes "RAWR why wont you fit!";
	mes "Get the hell in there";
	next;
	mes "Ok I am done here you are!";
delitem 637,10;
delitem 1020,50;
delitem 5141, 2;
set Zeny,Zeny-30000000;
getitem 5137,1;
close;

sunglasses:
if(countitem(999)<150) goto noitem; 
if(countitem(983)<1) goto noitem;
if(zeny<50000000) goto noitem;
	mes "[Jimmy Ubung]";
	mes "Ok you have the items now get ready";
	mes "I have to do something very technical";
	next;
	mes "[Jimmy Ubung];
	mes "ok, now I THINK this goes here";
	mes "BOOM!";
	mes "Nope it goes here";
	next;
	mes "Ok I am done here you are!";
delitem 999,150;
delitem 983,1;
set Zeny,Zeny-50000000;
getitem 2202,1;
close;

req:
	mes "[Jimmy Ubung]";
	mes "To make the Alice Doll I need";
	mes "100 Feathers,";
	mes "10 Old Brooms,";
	mes "50 Black Hairs,";
	mes "2 Marionette Dolls and";
	mes "30Million Zeny";
	next;
	mes "[Jimmy Ubung]";
	mes "150 Stells,";
	mes "1 Black Dye Stuffs and";
	mes "50 Million Zeny";
	next;
	close;
away:
	mes "[Jimmy Ubung]";
	mes "NO please dont leave I am very lonely!";
close;

noitem:
	mes "[Jimmy Ubung]";
	mes "Sorry you do not have the correct items";
	mes "Im desperate but i'm not going to give things away!";
close;
}

0

#2 User is offline   Scriptor 

  • Average Member
  • PipPipPipPip
  • Group: ASB Staff
  • Posts: 243
  • Joined: 05-May 05
  • Gender:Male

Posted 27 May 2007 - 11:46 AM

if you did not get it:
> Aegis Support Board > Aegis Support > Script & Co

and not

> Athena Support Board > Athena Support > Script & Co
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users