Need some help with unlocked LUA scripting (UnitBuff) menu

User Tag List

Results 1 to 1 of 1
  1. #1
    ownedpandas's Avatar Member
    Reputation
    1
    Join Date
    Jul 2016
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need some help with unlocked LUA scripting (UnitBuff)

    Edit: just need help with this now:

    Code:
    /script c=CastSpellByName t="target" u=UnitBuff if u(t,"targetbuff") then c("spellname");else if (u(t,"Banner of the Alliance") or u(t,"Inner Focus")[11]==96267) then  else c("spellname")end;end
    The issue here is the [11]==96267 for the spellid on Inner Focus, the reason this spell needs an id is because you get two buffs from this spell deleting "[11]==96267" allows the script to work however it cant differentiate between the two buffs.
    Last edited by ownedpandas; 10-14-2016 at 09:55 AM.

    Need some help with unlocked LUA scripting (UnitBuff)

Similar Threads

  1. [Lua Script] Need some help with my lua script
    By riizu in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 07-13-2010, 01:40 AM
  2. Need some help with LUA script
    By SupernovaHH in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 07-22-2009, 07:25 AM
  3. Need help with an LUA script.
    By Ryoken in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 06-21-2009, 09:30 PM
  4. Need some help with Lua
    By Kiev in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 12-23-2008, 05:26 AM
  5. [Request] I need some help with lua script (boss on death)
    By Ellenor in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 03-03-2008, 03:47 PM
All times are GMT -5. The time now is 11:12 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search