open the mqsettings window and under plugins Rez there is a setting you can fillin your command to run after
you can type /mqsettings plugins/rez to get there
/multiline ; /corpse; /timed 13, /target ${Me.Name}'s; /timed 20, /loot; /timed 22, /lootall
is the one i use