function script Random_Box_Script { .@[member=Rand] = rand(1,3); switch(.@[member=Rand]) { case 1: getitem 1001,1; end; case 2: getitem 1002,1; end; case 3: getitem 1003,1; // The special item announce strcharinfo(0)+ " was lucky and obtained the special prize!",bc_map,0x00FF00; // Map announcement end; }}