Moonfire+loot-a-rang

Hi guys, i was wondering if i can use a macro that casts Moonfire + Loot-a-rang toy by 1 button is that possible? like i want to just spam number 1 and it kills mobs where im standing and loots them while pressing number 1
thanks in advance

You can make a macro with:

/cast Moonfire
/use Loot-A-Rang