-- no-particles-all - Reset particle system on all links in object -- self-deleting local function main() local num_links = ll.GetObjectPrimCount(ll.GetKey()) for i = 0, num_links do ll.LinkParticleSystem(i, {}) end ll.RemoveInventory(ll.GetScriptName()) end main()