WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   code help (https://www.wowinterface.com/forums/showthread.php?t=834)

darkforce898 06-04-05 12:42 PM

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


Gello 06-04-05 05:36 PM

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?

darkforce898 06-05-05 07:54 AM

Quote:

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


All times are GMT -6. The time now is 05:38 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI