Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function script Sample {
- .@i = rand(100);
- if( .@i < 1 ) .@item = 25199;
- else if( .@i < 10 ) .@item = 25196;
- else if( .@i < 25 ) .@item = 25195;
- else if( .@i < 40 ) .@item = 25194;
- if( .@item )
- announce "[ "+strcharinfo(0)+" gained 1 "+getitemname( .@item ),0;
- else
- announce "Gained nothing..",bc_self;
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment