In this version it will summon as many bags as my mana allows, and then it will end.
Code: Select all
#include spell_routines.inc
function main()
{
EQExecute /memspellset Summon
wait 3000 ${Me.SpellReady[Dimensional Pocket]}
call Baggage
if !${Me.Sitting}
EQExecute /sit
echo END Bag script
}
function Baggage(int BagCount=1)
{
do
{
wait ${Math.Rand[15]:Inc[5]}
echo ${Me.SpellReady[Dimensional Pocket]} && ${Me.PctMana}>5
if ${Me.SpellReady[Dimensional Pocket]} && ${Me.PctMana}>5
{
echo summoning bag
call Cast "Dimensional Pocket"
if ${Cursor(exists)}
{
EQExecute /autoinventory
EQExecute /sit
wait 20 !${Cursor.ID}
wait 9999 ${Me.SpellReady[Dimensional Pocket]}
}
}
else
{
echo resting for mana
if !${Me.Sitting}
EQExecute /sit
wait 3000 ${Me.PctMana}==100
}
}
while (${BagCount:Inc}<=6)
}Code: Select all
#include spell_routines.inc
function main()
{
EQExecute /memspellset Summon
wait 3000 ${Me.SpellReady[Dimensional Pocket]}
call Baggage
if !${Me.Sitting}
EQExecute /sit
echo END Bag script
}
function Baggage(int BagCount=1)
{
do
{
wait ${Math.Rand[15]:Inc[5]}
echo ${Me.SpellReady[Dimensional Pocket]} && ${Me.PctMana}>5
if ${Me.SpellReady[Dimensional Pocket]} && ${Me.PctMana}>5
{
echo summoning bag
call Cast "Dimensional Pocket"
if ${Cursor(exists)}
{
EQExecute /autoinventory
EQExecute /sit
wait 20 !${Cursor.ID}
wait 9999 ${Me.SpellReady[Dimensional Pocket]}
}
} else {
echo resting for mana
if !${Me.Sitting}
EQExecute /sit
wait 3000 ${Me.PctMana}==100
}
}
while (${BagCount:Inc}<=6)
}
