Or to just use the function on a random frame: SetManyAttributes(someFrame, "type1", "macro", "macrotext", "/equip Hydrocane");