Don't question this right now, I'm just experimenting..
I get error "Missing 1 right curlys at file customitem.txt, line '49'."
//===== rAthena Script =======================================
//= Custom Item Quest
//===== By: ==================================================
//= jabs
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
//= Quest to get the Custom Item
//===== Additional Comments: =================================
//= 1.1 Fixed ingredients. Was too exploitable [Lupus]
//= 1.2 Optimized. [Euphy]
//============================================================
prontera,165,178,8 script Old Woman 103,{
setarray .@Items[0],714,25,1061,100,1095,200,618,10,1551,2,1614,1,727,20;
set .@n$,"[Custom Items]";
mes .@n$;
mes "I believe the item is called a ^FF0000God Item^000000. It makes you have invincibility skill!";
next;
mes .@n$;
mes "I need all of the following items:";
for(set .@i,0; .@i<getarraysize(.@Items); set .@i,.@i+2) {
mes " ~ "+.@Items[.@i+1]+"x "+getitemname(.@Items[.@i]);
if (countitem(.@Items[.@i]) < .@Items[.@i+1]) set .@nr
next;
if(select("I have all of that!:I'll get those ASAP")==2) goto M_Leave;
mes .@n$;
if (.@nr) {
mes "You lie! Get out of here and get those items, you sorry excuse for a rock star.";
close; }
for(set .@i,0; .@i<getarraysize(.@Items); set .@i,.@i+2)
delitem .@Items[.@i], .@Items[.@i+1];
getitem 4145,1;
set BerzQuest, 1;
mes "Congratulations! You have all the items. Here is your ^FF0000God Item^000000, as promised.";
emotion e_grat;
close;
M_Leave:
mes .@n$;
mes "Such a great item I have right here...";
close;
}
}
Question
Millenium
Don't question this right now, I'm just experimenting..
I get error "Missing 1 right curlys at file customitem.txt, line '49'."
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.