Jump to content

gefind

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by gefind

  1. On 7/29/2017 at 5:16 PM, crazyarashi said:

    function script specialbox { setarray .i[0],12345,12346; // Itemlist in box set .chance, rand(100); // First item in list (12345) x 1 (1% Chance) if (.chance == 1){ getitem .i[0],1; announce "["+strcharinfo(0)+"] won a ["+getitemname(.i[0])+"] from the Special Box.",0; end; } // First item in list (12346) x 100 (5~10% Chance) if (.chance <= 10 && .chance > 5){ getitem .i[1],100; end; } }

    Where i need to put this script? on new txt or just copy under the box item id?

×
×
  • Create New...