Wikia

WoWWiki

Watchlist Recent changes

API OfferPetition

Main Menue




Offer the target to sign your petition (only if the petition frame is visible)

OfferPetition()


Arguments Edit

None

Returns Edit

nil

Macro Edit

You can efficiently ask for peition signatures with a macro like this one:

#showtooltip
/use item:5863
/run local s,t={},UnitName("target")for i=1,GetNumPetitionNames()do s[GetPetitionNameInfo(i)]=1 end if GetPetitionInfo()and t and not s[t]then OfferPetition()end

Pages on WoWWiki

94,214pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,641photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki