PQR Changing CastSpellByID menu

User Tag List

Results 1 to 1 of 1
  1. #1
    Numba1stunna1's Avatar Active Member
    Reputation
    70
    Join Date
    Dec 2013
    Posts
    182
    Thanks G/R
    1/34
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PQR Changing CastSpellByID

    Hello,

    I want to modify the default CastSpellByID to castsequence macro for that spell. In other words, I am trying to replace "CastSpellByID(555,"target") to "/castsequence [@target] SpellName"

    function CastSpellByID(SpellID,Target)
    local SpellName = GetSpellInfo(SpellID)
    if Target == nil then
    return RunMacroText("/castsequence" SpellName)
    elseif Target ~= nil then
    return RunMacroText("/castsequence" [@Target] SpellName)
    end
    end
    How do I get this to work?

    PQR Changing CastSpellByID

Similar Threads

  1. [PQR] Looking for PQR 5.4.8 release and profile pack.
    By f2p in forum World of Warcraft Bots and Programs
    Replies: 11
    Last Post: 05-08-2017, 09:36 PM
  2. [PQR] LF "Use engineering gloves" pqr string code
    By dealerx in forum WoW Bot Maps And Profiles
    Replies: 2
    Last Post: 08-15-2016, 03:05 PM
  3. [PQR] Need gladiator profile for PQR
    By Esdescon in forum World of Warcraft Bots and Programs
    Replies: 0
    Last Post: 12-14-2015, 12:52 PM
  4. [PQR] Interupt Script 3.3.5 ( change abit )
    By lekken in forum WoW Bots Questions & Requests
    Replies: 0
    Last Post: 05-25-2014, 05:44 PM
  5. [PQR] Binds in rotation list changed?
    By Monkeyfist in forum WoW Bots Questions & Requests
    Replies: 0
    Last Post: 03-11-2013, 12:48 PM
All times are GMT -5. The time now is 03:39 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