Summon anything automatically, by count.

Moderator: MacroQuest Developers

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Summon anything automatically, by count.

Post by aChallenged1 » Mon Jun 26, 2006 9:15 am

This script will allow you to summon anything your toon is capable of summoning, with some modifications. If it is in RED then you'll have to change it for your purposes and setups.
Requires the use of spell_routines.inc version 2.5.0
(I'll add comments later)

Code: Select all

#include spell_routines.inc

function main()
{
;you can comment this out entirely
;just remember to have your spell up before starting.
    [color=red]EQExecute /memspellset Summon[/color]

    wait 3000 ${Me.SpellReady[[color=red]Dimensional Pocket[/color]]}
    call SummonIt
    if !${Me.Sitting}
    EQExecute /sit
    echo END Bag script

}

function SummonIt()
{
	do
	{
		wait ${Math.Rand[15]:Inc[5]}

		echo [color=red]bag[/color] count is ${FindItemCount[=[color=red]Dimensional Pocket[/color]]}
		if ${Me.SpellReady[[color=red]Dimensional Pocket][/color]} && ${Me.PctMana}>[color=red]20[/color]
		{
			echo summoning bag
			call Cast "[color=red]Dimensional Pocket[/color]"
			if ${Cursor(exists)}
			{
				EQExecute /autoinventory
				EQExecute /sit
				echo waiting for spell ready
				wait 20 !${Cursor.ID}
				wait ${Math.Rand[20]:Inc[[color=red]65[/color]]} ${Me.SpellReady[[color=red]Dimensional Pocket[/color]]}
			}
		}
          else
		{
		echo resting for mana
		if !${Me.Sitting}
		EQExecute /sit
		wait 9999 ${Me.PctMana}==100
		echo done resting for mana
		}
	}
	while (${FindItemCount[=[color=red]Dimensional Pocket[/color]]}<[color=red]6[/color])
}
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Mon Jun 26, 2006 7:09 pm

:blank:
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Summon anything automatically, by count.

Post by xyilla » Wed Jul 16, 2025 10:32 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Summon anything automatically, by count.

Post by xyilla » Wed Jul 16, 2025 10:33 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Summon anything automatically, by count.

Post by xyilla » Wed Jul 16, 2025 10:34 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Summon anything automatically, by count.

Post by xyilla » Wed Jul 16, 2025 10:36 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Summon anything automatically, by count.

Post by xyilla » Wed Jul 16, 2025 10:37 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Summon anything automatically, by count.

Post by xyilla » Wed Jul 16, 2025 10:38 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Summon anything automatically, by count.

Post by xyilla » Wed Jul 16, 2025 10:39 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Summon anything automatically, by count.

Post by xyilla » Wed Jul 16, 2025 10:40 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Summon anything automatically, by count.

Post by xyilla » Wed Jul 16, 2025 11:17 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Summon anything automatically, by count.

Post by xyilla » Wed Jul 16, 2025 11:18 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Summon anything automatically, by count.

Post by xyilla » Wed Jul 16, 2025 11:19 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Summon anything automatically, by count.

Post by xyilla » Wed Jul 16, 2025 11:21 pm


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Summon anything automatically, by count.

Post by xyilla » Wed Jul 16, 2025 11:22 pm