|
|
Source code |
1 |
/run GuildHouses_VisitHouseRequest("Gfeventguild")
|
|
|
Source code |
1 |
/script ItemPreviewFrame:SetSize(240*1.75, 330*1.75); ItemPreviewFrame:ClearAllAnchors(); ItemPreviewFrame:SetAnchor("TOPLEFT", "TOPLEFT", WorldFrame, 75, 75);
|
|
|
Source code |
1 2 3 4 5 6 7 8 |
/run israid = GetNumRaidMembers() > 0 ismover = (IsRaidLeader() or IsRaidAssistant())
/run if israid then if ismover then if not UnitExists("target") then TargetUnit("player") end MoveRaidMember(UnitRaidIndex("target"), UnitRaidIndex("player")) else SendChatMessage("Give Assist Please", "PARTY") SendChatMessage("You are not assist", "WHISPER", 0, UnitName("player")) end end
/cast X
/wait 1
/cast Y
/wait 1
/cast Z
/run if israid then if ismover then MoveRaidMember(UnitRaidIndex("target"), UnitRaidIndex("player")) end end
|
This post has been edited 8 times, last edit by "BlankMinded" (Jan 11th 2014, 6:04pm)
|
|
Source code |
1 |
/run local Count, Total = Daily_count(); if Total-Count==0 then UseItemByName("Daily Quest Ticket") else CastSpellByName("Attack") end
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 |
/run for i=1,15 do local x=UnitName("target") if not (x == "Hugope" or x== "Uncomfortable Adventurer") then TargetNearestFriend() else break end end
/cast Attack
/wait .2
/cast Attack
/run ChoiceOption(1)
/wait .3
/run ChoiceOption(1)
/wait 2
/run TargetUnit("")
|
|
|
Source code |
1 |
/run if (IsPetSummoned(X) == true) then ReturnPet(X); else SummonPet(X); end |
|
|
Source code |
1 |
/script if (GetEuipmentNumber() == X) then SwapEquipmentItem(Y); elseif (GetEuipmentNumber() == Y+1) then SwapEquipmentItem(X-1); end |
|
|
Source code |
1 |
/script if (GetEuipmentNumber() == 1) then SwapEquipmentItem(2); elseif (GetEuipmentNumber() == 3) then SwapEquipmentItem(0); end |
|
|
Source code |
1 |
/run scrutinizer:Reset() |
|
|
Source code |
1 2 3 4 5 6 7 8 |
/script a=GetCurrentTitle() /script SetTitleRequest(XXXXXX) /wait .2 /cast YYYYYYY /cast YYYYYYY /cast YYYYYYY /wait .2 /script SetTitleRequest(a) |
|
|
Source code |
1 2 3 4 5 |
/run FocusUnit(12,"target")
/run TargetUnit("pet")
/run CastSpellByName("Coat of Arms")
/run TargetUnit("focus12")
/run FocusUnit(12,"nil")
|
|
|
Source code |
1 2 3 4 5 6 |
/cast Premeditation /wait .2 /cast Wound Attack /wait 60 /wait 20 /w Character Name 10's on WA CRIT |
Anyone have a macro that will check if autoshot is on for scouts? Can't use cast because itll just toggle it on and off.
|
|
Source code |
1 |
/run for i=1,100 do n,_,_,id=UnitBuff("player",i) if id==500675 then CancelPlayerBuff(i) break else CastSpellByName("Hide") end end
|
This post has been edited 3 times, last edit by "Ozmondius" (Sep 16th 2014, 2:16am)
I liked the old behavior of "Hide" as a toggle, when you used to cast the skill, if Hide was on, it would cancel the buff and if it was off, hitting the button would put you into hide. I hated when they changed that, so I created a macro that mimics the old behavior:
![]()
Source code
1/run for i=1,100 do n,_,_,id=UnitBuff("player",i) if id==500675 then CancelPlayerBuff(i) break else CastSpellByName("Hide") end end
It works fine if you have no other buffs on, but if you have other buffs on, it just casts or recasts hide, it won't cancel hide if it's on. I can't figure out how to fix it. It seems like when there is more than one buff on, including hide, id does not equal 500675 because it is also seeing other buff id's. Is there an "includes" operator that could be used in place of the "==" or another fix? Thanks for the help.
|
|
Source code |
1 |
/run hide = false; for i=1,40 do if UnitBuff("player",i) == "Hide" then hide == "true"; CancelPlayerBuff(i); break end end if hide == false then CastSpellByName("Hide") end
|
|
|
Source code |
1 |
/script FollowUnit( "party1" ); |
|
|
Source code |
1 |
/script RequestTrade("party1");
|
|
|
Source code |
1 2 3 4 |
/party TANK: 3-1-2 /party TREE: 2-1-3 (use 3 on different players each cycle) /party WIND: 3- 1 (twice) - 2 /party WATER: Select tank- 1 ; Select boss - 3 (three times) - 2 |
|
|
Source code |
1 2 3 4 |
/run poz = -1; for i=1,6 do if GetRaidMember(i) == "Uure" then poz = i ; break end end /run if ( poz ~= -1 ) then MoveRaidMember(poz, 13) end /wait 3 /run if ( poz ~= -1 ) then MoveRaidMember(13,poz) end |

the problem with the macro u provide is that if u have hide it cancels it. else it casts over and over again. below u can find the proper version (not tested ingame yet but will work)
![]()
Source code
1/run hide = false; for i=1,40 do if UnitBuff("player",i) == "Hide" then hide == "true"; CancelPlayerBuff(i); break end end if hide == false then CastSpellByName("Hide") end
the problem with the macro u provide is that if u have hide it cancels it. else it casts over and over again. below u can find the proper version (not tested ingame yet but will work)
This post has been edited 1 times, last edit by "Ozmondius" (Sep 19th 2014, 12:55am)
seems i have a mistake in the script, wrote for forum purpose, hadnt tested in game.
The part that says: hide == "true" , should have been: hide == true.
in case this doesnt work, i ll need to test in game later at night
|
|
Source code |
1 |
hide = true |
|
|
Source code |
1 |
/run local w=0 for i=1,100 do local _,_,_,d=UnitBuff("player",i) if d==500675 then CancelPlayerBuff(i) w=1 break end end if w==0 then CastSpellByName("Hide") end
|
|
|
PHP Source code |
1 |
/run w=0 for i=1,100 do local _,_,_,d=UnitBuff("player",i) if d==621252 then CastSpellByName("Rune Pulse") w=1 break end end if w==0 then CastSpellByName("Dark Energy Strike") end
|
|
|
Source code |
1 2 3 4 5 |
/script GC_SetMouseMoveEnable(false)
/script CastSpellByName("Thunderstorm")
/wait .001
/script SpellTargetUnit("")
/script GC_SetMouseMoveEnable(true)
|