Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Macro only ONCE after combat

Featured Replies

Hello,

I'd like to cast Fetch on my Hunter pet, but only ONCE after combat.  Right now it casts over and over.  I have it set as:

Spell Settings

  • combat only - false
  • not a spell, is lua script - true
  • once per target - true (doesn't seem to make any difference)

Spell Conditions

  • me in combat - false

Here's the script:

RunMacroText("/targetlastenemy [help][noexists]")
RunMacroText("/cast Fetch")

Any ideas?

  • Author

Still having some issues:

08:06:27 - [Fight] Player Attack Leyline Researcher (lvl 110)
[F] 08:06:27 - [FightClass] Launch LUA script: PetAttack();
[F] 08:06:27 - [FightClass] Launch LUA script: RunMacroText("/cast [@focus, help] [@pet, nodead, exists] Misdirection")
[F] 08:06:28 - [Spell] Cast Mend Pet (Mend Pet)
[F] 08:06:28 - [Spell] Cast Bestial Wrath (Bestial Wrath)
[F] 08:06:28 - [FightClass] Launch C# code: robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", false);
[F] 08:06:30 - [Spell] Cast A Murder of Crows (A Murder of Crows)
[F] 08:06:30 - [FightClass] Launch LUA script: RunMacroText("/use Emmarel's Assault")
[F] 08:06:31 - [Spell] Cast Cobra Shot (Cobra Shot)
[F] 08:06:31 - [Spell] Cast Counter Shot (Counter Shot)
[F] 08:06:32 - [Spell] Cast Dire Beast (Dire Beast)
[F] 08:06:34 - [Spell] Cast Kill Command (Kill Command)
[F] 08:06:35 - [Spell] Cast Cobra Shot (Cobra Shot)
[F] 08:06:35 - [FightClass] Launch C# code: // System.Threading.Thread.Sleep(1000); wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]"); wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch"); robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);
[F] 08:06:36 - [FightClass] Launch C# code: // System.Threading.Thread.Sleep(1000); wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]"); wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch"); robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);
[F] 08:06:37 - [FightClass] Launch C# code: // System.Threading.Thread.Sleep(1000); wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]"); wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch"); robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);
[F] 08:06:38 - [FightClass] Launch C# code: // System.Threading.Thread.Sleep(1000); wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]"); wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch"); robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);
[F] 08:06:39 - [FightClass] Launch C# code: // System.Threading.Thread.Sleep(1000); wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]"); wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch"); robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);
[F] 08:06:41 - [FightClass] Launch C# code: // System.Threading.Thread.Sleep(1000); wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]"); wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch"); robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);
[F] 08:06:42 - [FightClass] Launch C# code: // System.Threading.Thread.Sleep(1000); wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]"); wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch"); robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);
[F] 08:06:43 - [FightClass] Launch C# code: // System.Threading.Thread.Sleep(1000); wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]"); wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch"); robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);
08:06:43 - [AntiAfk] Disposed.
08:06:44 - Session statistics:
Elapsed time: 00h:00m:23s
Kills: 1 (156/hr)
Deaths: 0 (0/hr)
Farms: 0 (0/hr)
Loots: 0 (0/hr)
Money/HR: 0 G 00 S 00 C (0 G 00 S 00 C)
Honor/HR: 0 (0)
Apexis Crystal/HR: 0 (0)

 

 

Perhaps an edit of the Loot-a-Rang plugin?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.