Jump to content
  • 0
Brynner

help with this freebies npc

Question

how to make this freebies script will only gave freebies for those account credited after account id 2000735? below that account will not be given any freebies.

 

brasilis,203,185,4	script	Freebies	112,{	delwaitingroom;	waitingroom "Free Item Here!",0;   // Look on the configuration!if( !Freebies ){set Freebies,1;mes "Welcome...this is your gift...";getitem2 2320,1,1,7,0,0,0,0,0; // +7 formal suit[1]getitem2 2504,1,1,7,0,0,0,0,0; // +7 muffler[1]getitem2 2104,1,1,7,0,0,0,0,0; // +7 buckler[1]getitem2 2102,1,1,7,0,0,0,0,0; // +7 Guard[1]getitem2 2404,1,1,7,0,0,0,0,0; // +7 Shoes[1]getitem 12210, 5;getitem 14533, 5;getitem 12622, 1;getitem 4142, 1;getitem 4147, 1;}else{mes "You have claim the Reward already.";}close;}

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

 

how to make this freebies script will only gave freebies for those account credited after account id 2000735? below that account will not be given any freebies.

 

brasilis,203,185,4	script	Freebies	112,{	delwaitingroom;	waitingroom "Free Item Here!",0;   // Look on the configuration!if( !Freebies ){set Freebies,1;mes "Welcome...this is your gift...";getitem2 2320,1,1,7,0,0,0,0,0; // +7 formal suit[1]getitem2 2504,1,1,7,0,0,0,0,0; // +7 muffler[1]getitem2 2104,1,1,7,0,0,0,0,0; // +7 buckler[1]getitem2 2102,1,1,7,0,0,0,0,0; // +7 Guard[1]getitem2 2404,1,1,7,0,0,0,0,0; // +7 Shoes[1]getitem 12210, 5;getitem 14533, 5;getitem 12622, 1;getitem 4142, 1;getitem 4147, 1;}else{mes "You have claim the Reward already.";}close;}

Just add getcharid(3) > ACCID in if condition.

Here's the Script.

brasilis,203,185,4	script	Freebies	112,{	delwaitingroom;	waitingroom "Free Item Here!",0;   // Look on the configuration!if( !Freebies && getcharid(3) > 2000735 ){set Freebies,1;mes "Welcome...this is your gift...";getitem2 2320,1,1,7,0,0,0,0,0; // +7 formal suit[1]getitem2 2504,1,1,7,0,0,0,0,0; // +7 muffler[1]getitem2 2104,1,1,7,0,0,0,0,0; // +7 buckler[1]getitem2 2102,1,1,7,0,0,0,0,0; // +7 Guard[1]getitem2 2404,1,1,7,0,0,0,0,0; // +7 Shoes[1]getitem 12210, 5;getitem 14533, 5;getitem 12622, 1;getitem 4142, 1;getitem 4147, 1;}else{mes "You have claim the Reward already.";}close;}
Edited by dastgirpojee

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.