Thread Tools Display Modes
06-04-05, 12:42 PM   #1
darkforce898
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Feb 2005
Posts: 12
code help

hi I am making an addon that will auto ressurect you but i am having some problems....

here is my code
http://www.warpedsoap.com/blama/Test/AutoRez.lua
http://www.warpedsoap.com/blama/Test/AutoRez.toc
http://www.warpedsoap.com/blama/Test/AutoRez.xml

it doesnt accept the ressurect dialog...
is this the right syntax for the code?

Code:
if ( event == "RESSURRECT_REQUEST" ) then
	AcceptResurrect();
end
  Reply With Quote
06-04-05, 05:36 PM   #2
Gello
A Molten Giant
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 521
Syntax and stuff looks fine.

Next time you die, instead of clicking yes type in /script AcceptResurrect(). (Or maybe you have already) Does it accept the res?
  Reply With Quote
06-05-05, 07:54 AM   #3
darkforce898
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Feb 2005
Posts: 12
Originally Posted by Gello
Syntax and stuff looks fine.

Next time you die, instead of clicking yes type in /script AcceptResurrect(). (Or maybe you have already) Does it accept the res?

that works.... hrmph
i got it though
i spelled "RESURRECT" wrong... dope
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » code help

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off