Thread: Thurme from IB
View Single Post
  #7  
Old 08-23-2010, 02:52 PM
Abacab niggah Abacab niggah is offline
Banned


Join Date: Aug 2010
Posts: 75
Default

To further explain I'll beak it down yo:


function main(string CastMe, int MyCount, string SummonedItem)
{

EQExecute /memspellset Summon
wait 3000 ${Me.SpellReady[Dimensional Pocket]}
call Summon "${CastMe}" ${MyCount} "${SummonedItem}"
speak Done summoning items
if !${Me.Sitting}
EQExecute /sit
echo END Bag script

}

Right here he scripted his character to mem the spell "Dimensional pocket" which when he sits he stops summoning bags momentarily



function Summon(string CastMe, int MyCount, string SummonedItem)
{

echo Spellname: "${CastMe}"
echo Number: ${MyCount}
echo What is summoned: "${SummonedItem}"
echo Summon count is ${FindItemCount[="${SummonedItem}"]}
do
{
wait ${Math.Rand[15]:Inc[5]}

if ${Me.SpellReady["${CastMe}"]} && ${Me.PctMana}>20
{
echo summoning ${SummonedItem}
call Cast "${CastMe}"
if ${Cursor(exists)}
{
EQExecute /autoinventory
EQExecute /sit
echo waiting for spell ready
wait 20 !${Cursor.ID}
wait 9999 ${Me.SpellReady["${CastMe}"]}
echo Summon count is ${FindItemCount["=${SummonedItem}"]}
}

Now he is summoning bags and placing them in the inventory with timing in between each summon as dedicated by the "9999" variable

}
else
{
echo resting for mana
if !${Me.Sitting}
EQExecute /sit
wait 9999 ${Me.PctMana}==100
echo done resting for mana
}
}
while (${FindItemCount["=${SummonedItem}"]}<${MyCount})


Now after summoning he is scripted to sit and med for mana until 100% before the script or a new script can be implemented


Basically he is a automated vending machine