• Due to recent spam attacks that heavily used compormised accounts we did reset all user passwords, AGAIN, if it happens and your account got compromised again due to re-used passwords your account will be perma-banned.

help with this freebies npc

Brynner

Community Contributors
Messages
563
Points
28
Github
https://github.com/bgamez23
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.

Code:
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;}
 
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.

Code:
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;}
 
Last edited by a moderator:
Back
Top