fix addweapon + limit scripts qty to 256 patterns