w/o writing it for you i can give you a very basic and simple way that will only sort of do things for you (note: all this stuff taking from TFM...so R it)
step 1 run macro w/ player you wanna summon crap for as the paramater,
Code: Select all
|Usage:
|/macro summonstuff goober
step 2, cast a bag, and put it in your inventory (useing spellcast.ini)
Code: Select all
/call Cast "spellname"
/autoinvent
step 3, target goober
step 4, figure out goober's class:
step 5, lots of logic if else if else statments here to deside what to do w/ that class from step 4
step 6, summon whatever shit he wants and put it into your iventory as well (useing spellcast.ini)
Code: Select all
/call Cast "spellname" (as many as you want)
/autoinvent
there ya go, bags of crap, it shouldnt be to hard to piece together from there if you take about 30mins to look over other code and see how it gets stuck together.. and to the admins i hope that i didn't give to much away, its far from an AFK macro at this stage.