What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

quick question, my macro doesn't work in a xml profile

DocBrown

Member
Joined
Mar 24, 2015
Messages
362
Reaction score
11
PHP:
Cannot load profile!
'Mote' is an unexpected token. Expecting white space. Line 52, position 147.

PHP:
<CustomBehavior File="RunMacro" Macro="/run for b=0,4 do for s=1,GetContainerNumSlots(b)do local n=GetContainerItemLink(b,s)if n and strfind(n,"Mote of Harmony")then print("Depositing "..n)UseContainerItem(b,s)end end end" />

Seems like other macros i insert don't work either

PHP:
/cast Tailoring
/run local spell = "Windwool Cloth"; for i=1,GetNumTradeSkills() do if GetTradeSkillInfo(i)== ("Bolt of ".. spell) then CloseTradeSkill() DoTradeSkill(i, GetItemCount(spell)/5) break end end

tried replacing the name with a item id, but doesn't work
 
This should be posted in the Community Developer Forum.

But one problem I see is using quotes inside quotes (") try replacing " with &quot;
 
This should be posted in the Community Developer Forum.

But one problem I see is using quotes inside quotes (") try replacing " with &quot;

okay, ya i just realized i have to switch the symbols to html format in order for honorbuddy to read it, thanks bud
 
Back
Top