[PQR] Need help with Code menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    spawnpl's Avatar Member
    Reputation
    3
    Join Date
    Apr 2009
    Posts
    61
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [PQR] Need help with Code

    I'm trying to have PQR enable Berserking racial after Celestial Alignment, but it's not working. I have it enabled but it doesn't want to start the rotation.

    Here is the code:

    if PQI_Burst2_enable then
    if PQR_SpellAvailable(112071) then
    if UnitBuffID("player", 102560) then
    if (select(7, UnitBuffID("player", 102560)) - GetTime()) <= 20 then
    CastSpellByName(GetSpellInfo(112071))
    if PQR_SpellAvailable(26297)
    CastSpellByName(GetSpellInfo(26297))
    return true
    end
    end
    end
    end


    Hope someone can help me...

    [PQR] Need help with Code
  2. #2
    Quesadilla's Avatar Sergeant
    Reputation
    9
    Join Date
    Apr 2013
    Posts
    56
    Thanks G/R
    2/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    error in line 7: 'then' expected near 'CastSpellByName' maybe?

    Code:
    if PQI_Burst2_enable then 
    	if PQR_SpellAvailable(112071) then
    		if UnitBuffID("player", 102560) then
    			if (select(7, UnitBuffID("player", 102560)) - GetTime()) <= 20 then
    			CastSpellByName(GetSpellInfo(112071))
    				if PQR_SpellAvailable(26297) then
    				CastSpellByName(GetSpellInfo(26297))
    				return true
    				end
    			end
    		end
    	end
    end

  3. #3
    Nerder's Avatar Contributor
    Reputation
    117
    Join Date
    Aug 2012
    Posts
    263
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There's 5 if statements with 4 ends, and like stated, your last if statement needs a then also

    Sent from my GT-I9300 using Tapatalk 2

Similar Threads

  1. Need help with code on dk rune check for scourge strike please :)
    By godlike86 in forum WoW Bots Questions & Requests
    Replies: 0
    Last Post: 04-30-2013, 05:49 AM
  2. Need help with writing code that is version independent
    By whitea2 in forum GW2 Memory Editing
    Replies: 4
    Last Post: 10-02-2012, 02:23 AM
  3. Replies: 1
    Last Post: 07-10-2012, 03:49 PM
  4. Need a help with code [C#]
    By purri in forum WoW Memory Editing
    Replies: 14
    Last Post: 05-10-2010, 02:07 AM
  5. need help with this c++ code
    By igud2 in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 05-06-2009, 06:09 AM
All times are GMT -5. The time now is 02:59 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search