i want this to give only 1 character per account if the player make new character on her account he cant get again
this is the script please modify it thank you
new_3-1,58,114,4 script Freebies 832,{
mes "Welcome to Aki Ragnarok Online";
mes "What Service May I Offer You ?";
next;
menu "Get Freebies", L16;
L16:
if(#New_Player == 1 || Class!=Job_Novice ) goto L_Done;
if(Class==Job_Novice && #New_Player==0) {
mes "Good Luck on your Adventure !";
mes "Which path do you wish to take?";
switch(select("Swordsman:Archer:Mage:Acolyte:Merchant:Thief")) {
case 1://Swordsman
getitem 13945,1;
break;
case 2://Archer
getitem 13948,1;
break;
case 3://Mage
getitem 13946,1;
break;
case 4://Acolyte
getitem 13947,1;
break;
case 5://Merchant
getitem 13949,1;
break;
case 6://Thief
getitem 13950,1;
break;
}
// Since these lines where everytime the same I put them here.
// Also you had after those lines a "close" which ends the script
// completely without setting the "#New_Player" variable to 1
// A "break;" breaks the "loop" or in this case the "switch" so it ends it and continues with the script below
getitem 12214,5; // Convex mirror 5pcs.
getitem 12210,5; // Bubble gum 5pcs.
getitem 12263,5; // Manual 5pcs.
getitem 5826,1; // Hat 1pc.
getitem 569,30; // Potions 30pcs.
getitem 12323,20; // Novice Fly wing 20pcs.
mes "Start your awesome journey today.";
mes "If you need help. Please use @request / search for Game Staffs. Thank You.";
close;
}
end;
L_Done:
mes "You Have Received the Freebies already.";
close;
OnInit:
waitingroom "Welcome to Aki Ragnarok Online",0;
end;
}
// == Mapflags
new_1-2 mapflag nowarp
new_1-2 mapflag nowarpto
new_1-2 mapflag noteleport
new_1-2 mapflag nosave
new_1-2 mapflag nomemo
new_1-2 mapflag nobranch
new_1-2 mapflag pvp_noparty
new_1-2 mapflag restricted 1
new_1-2 mapflag nosave
new_1-2 mapflag nomemo
Question
Quesooo
Good day rathena help me with this script please
i want this to give only 1 character per account if the player make new character on her account he cant get again
this is the script please modify it thank you
new_3-1,58,114,4 script Freebies 832,{ mes "Welcome to Aki Ragnarok Online"; mes "What Service May I Offer You ?"; next; menu "Get Freebies", L16; L16: if(#New_Player == 1 || Class!=Job_Novice ) goto L_Done; if(Class==Job_Novice && #New_Player==0) { mes "Good Luck on your Adventure !"; mes "Which path do you wish to take?"; switch(select("Swordsman:Archer:Mage:Acolyte:Merchant:Thief")) { case 1://Swordsman getitem 13945,1; break; case 2://Archer getitem 13948,1; break; case 3://Mage getitem 13946,1; break; case 4://Acolyte getitem 13947,1; break; case 5://Merchant getitem 13949,1; break; case 6://Thief getitem 13950,1; break; } // Since these lines where everytime the same I put them here. // Also you had after those lines a "close" which ends the script // completely without setting the "#New_Player" variable to 1 // A "break;" breaks the "loop" or in this case the "switch" so it ends it and continues with the script below getitem 12214,5; // Convex mirror 5pcs. getitem 12210,5; // Bubble gum 5pcs. getitem 12263,5; // Manual 5pcs. getitem 5826,1; // Hat 1pc. getitem 569,30; // Potions 30pcs. getitem 12323,20; // Novice Fly wing 20pcs. mes "Start your awesome journey today."; mes "If you need help. Please use @request / search for Game Staffs. Thank You."; close; } end; L_Done: mes "You Have Received the Freebies already."; close; OnInit: waitingroom "Welcome to Aki Ragnarok Online",0; end; } // == Mapflags new_1-2 mapflag nowarp new_1-2 mapflag nowarpto new_1-2 mapflag noteleport new_1-2 mapflag nosave new_1-2 mapflag nomemo new_1-2 mapflag nobranch new_1-2 mapflag pvp_noparty new_1-2 mapflag restricted 1 new_1-2 mapflag nosave new_1-2 mapflag nomemo
Link to comment
Share on other sites
4 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.