AinsLord Posted January 27, 2017 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Share Posted January 27, 2017 malaya,281,359,4 script Freebies 123,{ mes "[Hello]"; mes "[I can give you a free gift based on your future job.]"; mes "[Please choose the correct item for the future job]"; next; if(!#Freebie) { mes "Select one:"; next; switch(select("Swordsman:Magician:Archer:Acolyte:Merchant:Thief")) { case 1: getitembound 13758,5,4; getitembound2 1108,2,1,4,0,0,0,0,0,4; getitembound2 2104,2,1,4,0,0,0,0,0,4; getitembound 504,200,4; getitembound 505,200,4; //Item for Swordsman set #Freebie, 1; warp "new_1-1", 53, 110; savepoint "prontera", 156, 183; end; case 2: getitem 13758,1; getitem 969,20; getitem 1108,1; getitem 2104,1; getitem 4043,4; //Item for Magician set #Freebie, 1; warp "prontera", 150, 150; savepoint "prontera", 150, 150; end; case 3: getitem 13758,1; getitem 969,20; getitem 1108,1; getitem 2104,1; getitem 4043,4; //Item for Archer set #Freebie, 1; warp "prontera", 150, 150; savepoint "prontera", 150, 150; end; case 4: getitem 13758,1; getitem 969,20; getitem 1108,1; getitem 2104,1; getitem 4043,4; //Item for Acolyte set #Freebie, 1; warp "prontera", 150, 150; savepoint "prontera", 150, 150; break; case 5: getitem 13758,1; getitem 969,20; getitem 1108,1; getitem 2104,1; getitem 4043,4; //Item for Merchant set #Freebie, 1; warp "prontera", 150, 150; savepoint "prontera", 150, 150; end; case 6: getitem 13758,1; getitem 969,20; getitem 1108,1; getitem 2104,1; getitem 4043,4; //Item for Thief set #Freebie, 1; warp "prontera", 150, 150; savepoint "prontera", 150, 150; end; } close; } mes "[ Trololol ]"; mes "You already receive your freebies!"; close; OnInit: waitingroom "Get your freebies here ! ",0; end; } how to make this code same char cant get another freebies?? like all the chars in the accnt can get freebies but only 1 time per char thnx for the help Quote Link to comment Share on other sites More sharing options...
0 Akkarin Posted January 27, 2017 Group: Forum Manager Topic Count: 282 Topics Per Day: 0.06 Content Count: 3144 Reputation: 1632 Joined: 03/26/12 Last Seen: April 15 Share Posted January 27, 2017 Remove the account-based variable character "#" from the variable #Freebie. 1 Quote Link to comment Share on other sites More sharing options...
0 AinsLord Posted January 27, 2017 Group: Members Topic Count: 261 Topics Per Day: 0.08 Content Count: 758 Reputation: 20 Joined: 11/21/15 Last Seen: April 6 Author Share Posted January 27, 2017 (edited) in all ?? i mean this?? coz in every case there is #freebie EDIT:: IT WORKED THNX U SO MUCH set #Freebie, 1; Edited January 27, 2017 by whodhell Quote Link to comment Share on other sites More sharing options...
Question
AinsLord
how to make this code same char cant get another freebies??
like all the chars in the accnt can get freebies but only 1 time per char
thnx for the help
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.