Summon Dimentional Pockets
Posted: Mon Jun 26, 2006 7:28 am
This script works partially, but not quite properly. I would appriciate it if someone could tell me where I've goofed up. It has to be something dealing with the else statement in the baggage function.
In this version it will summon as many bags as my mana allows, and then it will end.
In this version it casts one time and then starts meditating to full.
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)
}