Close
Showing results 1 to 9 of 9
  1. #1

    Default Are these types of script allowed?

    This script detects your "proc" and casts a spell based on its presence:

    /run if UnitBuff("player", "Slam!") then CastSpellByName("Slam") end


    This script checks your rage amount and casts a specific spell accordingly:

    /run if UnitPower("Player") > 60 then CastSpellByName("Cleave") end



    I would think they borderline what's acceptable and what's not. I'm uncertain whether these are even operational as we speak as I'm just browsing around and chanced on these scripts. There's a few more of them but these two stand out. It feels like the script itself is too smart to be allowed and if so could potentially be actionable by Blizzard..?
    "Patchwork should not be allowed in a BG"



  2. #2

    Default

    No. You can't run if/then statements like that.
    Siaea(h), Saiea(h), Seaie(h), Sieae(h), Seiae(h) - H(A) PvP
    Parting, Sadeness, Praetorium, Greetings, Salutations - H PvP
    Mullethead, Auderna, Jestitte, Zelynde, Serlena - H PvP
    Clotte, Tahru, Martitsu, Mikiel, Larain - H PvE
    Bonechewer - PvP - US

  3. #3
    Member
    Join Date
    Aug 2009
    Location
    Svpernova's Hillbilly Cousin
    Posts
    128

    Default

    CastSpellByName() is a protected function that can only be called from Blizzard code.

    Source: http://www.wowwiki.com/API_CastSpellByName

  4. #4

    Default

    Thanks guys.
    "Patchwork should not be allowed in a BG"



  5. #5

    Default

    We could do really crazy things if those were possible....

    I think its better we can't do this
    <Starlight Express>

  6. #6

    Default

    Used to be possible, but got fixed.
    I'm going to live forever, or die trying.
    5 Shaman Northrend Heroics - My YouTube Channel - Details about my setup (outdated)
    T2 Heroics: lvl 80 Heroics wearing lvl 60 armour
    Running 5-6 accounts on one computer, currently playing Horde on US-Skywall.
    My main teams:
    5x Shamans lvl 85
    5-class team lvl 100: Paladin, Druid, Shaman, Mage, Priest

  7. #7

    Default

    Quote Originally Posted by Maxion View Post
    Used to be possible, but got fixed.
    i used it on a kitty druid in naxx and ulduar... it was amazing pressing 1 button and being top dps.
    The Internet: We Know Drama
    If you're gona screw with my sig at least leave the thing bolded :P

  8. #8

    Default

    i think castbyspellname was the premise on the old "healer"-turned-healbot mod and the previous script for the old decursive actually. hrm.
    "Patchwork should not be allowed in a BG"



  9. #9

    Default

    Quote Originally Posted by emps View Post
    i think castbyspellname was the premise on the old "healer"-turned-healbot mod and the previous script for the old decursive actually. hrm.
    exactly, but more importantly, for the macro to decide to cast on someone only if they had a debuff(decursive) or an amount of lost health(healbot).
    I'm going to live forever, or die trying.
    5 Shaman Northrend Heroics - My YouTube Channel - Details about my setup (outdated)
    T2 Heroics: lvl 80 Heroics wearing lvl 60 armour
    Running 5-6 accounts on one computer, currently playing Horde on US-Skywall.
    My main teams:
    5x Shamans lvl 85
    5-class team lvl 100: Paladin, Druid, Shaman, Mage, Priest

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •