if($@CurrentEvent >= 5 && $@CurrentEvent <= 9){
if(checkmadogear()){
if(checkweight(33017,1)){
getitem 33017,1;
setmadogear 0;
} else {
next;
mes "[ Event Management ]","Seems you're in a Mado Gear and cant seem to carry a voucher, either remove the Mado Gear or come back when you can hold the voucher.";
close;
}
}
if(checkdragon()){
if(checkweight(33018,1)){
getitem 33018,1;
setdragon 0;
} else {
next;
mes "[ Event Management ]","Seems you're on a Dragon and can't seem to carry a voucher, either remove you're Dragon or come back when you can hold the voucher.";
close;
}
}
if(checkwug()){
if(checkweight(33019,1)){
getitem 33019,1;
setoption Option_Wugrider,0;
} else {
next;
mes "[ Event Management ]","Seems you're on a Wug and can't seem to carry a voucher, either remove you're Wug or come back when you can hold the voucher.";
close;
}
}
if(ismounting()){
if(checkweight(33020,1)){
getitem 33020,1;
setmounting;
} else {
next;
mes "[ Event Management ]","Seems you're mounted and can't seem to carry a voucher, either remove you're mount or come back when you can hold the voucher.";
close;
}
}
if(checkriding()){
if(checkweight(33021,1)){
getitem 33021,1;
setriding 0;
} else {
next;
mes "[ Event Management ]","Seems you're mounted and can't seem to carry a voucher, either remove you're mount or come back when you can hold the voucher.";
close;
}
}
if(checkfalcon()){
if(checkweight(33022,1)){
getitem 33022,1;
setfalcon 0;
} else {
next;
mes "[ Event Management ]","Seems you have a falcon and can't seem to carry a voucher, either remove you're falcon or come back when you can hold the voucher.";
close;
}
}
if(geteleminfo(1) > 0)
unitkill geteleminfo(1);
callfunc("dispell");
} else if($@CurrentEvent == 2)
callfunc("dispell");
.register_aid[ .register_count ] = getcharid(3);
.register_count++;
if($@CurrentEvent == 13){
delitem .candy_id, countitem( .candy_id );
delitem .apple_id, countitem( .apple_id );
}
if($@CurrentEvent == 13 && checkcart()){
if(checkweight(33023,1)){
getitem 33023,1;
setcart 0;
} else {
next;
mes "[ Event Management ]","Seems you have cart and can't seem to carry a voucher, either remove you're cart or come back when you can hold the voucher.";
close;
}
}
Question
makuexile
Please help to fix this script.
Warning code 51055
and this debug script
auto_event.txt
Link to comment
Share on other sites
2 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.