All are working good, but when I tried to create a new one nothing happens.
What I wanted is :
1. If a player reach the level : 10 but not higher than 20 he/she will receive the basic pack 1 (eg. 26000).
this one's work :
if((BaseLevel >= 10)&&(BaseLevel <= 20))
-[TAB]script[TAB]Package[TAB]-1,{
if(.Package==1) end;
if((BaseLevel >= 10)&&(BaseLevel <= 20))
set .charid, getcharid(0);
set .sender$, "Achievement System";
set .title$, "Basic Starter Pack Lv10-20";
set .itemid, 26000;
set .itemamount, 1;
set .zeny, 10000;
set .refine, 0;
set .Package,1;
set .body$, "You have successfully unlocked the achievement '"+.title$+"'. You have received "+.itemamount+" "+getitemname(.itemid)+"s and "+.zeny+" zennies.";
sendmail .charid,.sender$,.title$,.body$,.zeny,.itemid,.itemamount,.refine;
end;
}
but for the below nothing happens. what script style should I used?
2. If a player reach the level : 21-40 he/she will receive the adv pack 1 (eg. 26001).
3. If a player reach the level : 41-70 he/she will receive the rare pack 1 (eg. 26002).
4. If a player reach the level : 90+ he/she will receive the god pack 1 (eg. 26004).
Question
Lugia
Hello,
Can I request a script that something like this : https://rathena.org/board/topic/74969-send-mail-via-scriptcommand/
All are working good, but when I tried to create a new one nothing happens.
What I wanted is :
1. If a player reach the level : 10 but not higher than 20 he/she will receive the basic pack 1 (eg. 26000).
this one's work :
but for the below nothing happens. what script style should I used?
2. If a player reach the level : 21-40 he/she will receive the adv pack 1 (eg. 26001).
3. If a player reach the level : 41-70 he/she will receive the rare pack 1 (eg. 26002).
4. If a player reach the level : 90+ he/she will receive the god pack 1 (eg. 26004).
Please assist.
Edited by Lugia1 answer 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.