Welcome Guest [Log In] [Register]
Language Translator

:::WELCOME TO GC FORUM,GC IS NOW STAND FOR GENERAL CHAT:::

Add Reply
Macro help; Poling and Darren!! PLS help
Topic Started: Apr 28 2008, 01:09 PM (238 Views)
myTrader
Member Avatar
TF Leader
[ *  *  *  *  * ]
Weh... I linked this macro to an automacro that activates 10 seconds after character has status 'dead'.

----------------------------------------------------------------------------
macro bail {
if ($.hp < 2) goto now
if ($.hp > 2) goto not
stop
:now
do g sarah=died
goto end
:not
do g false alarm
goto end
:end
release safety
}

----------------------------------------------------------------------------


What I wanted it to do is: 10 seconds after character dies, if hp is still below 2 (that means the character is still dead), then type in guild chat "sarah=died".

But if after 10 seconds, character has been resurrected (which means the hp will be above 2), then type in guild chat "false alarm".

There is a problem: the part "false alarm" works fine, but the part "sarah=died" doesn't seem to work. /sight
Offline Profile Quote Post Goto Top
 
doraem0n
Member Avatar
Loyal Member
[ *  *  * ]
if status dead

can't be used?
Offline Profile Quote Post Goto Top
 
myTrader
Member Avatar
TF Leader
[ *  *  *  *  * ]
Nope.. that one cannot kua.... /swt
Offline Profile Quote Post Goto Top
 
doraem0n
Member Avatar
Loyal Member
[ *  *  * ]
gave up on your macro so fast?

post here the new macro and see if we can work things out. /sight
Offline Profile Quote Post Goto Top
 
EzSmith

RG member
= = i dunno how to do macro.. well how to start macro??sry nub here XD

/shy
Offline Profile Quote Post Goto Top
 
myTrader
Member Avatar
TF Leader
[ *  *  *  *  * ]
automacro safety {
status dead
timeout 15
call bail
}

macro bail {
$hp = $.hp
do g I died
pause 10
if ($hp < 2) goto Yes
if ($hp >= 2) goto No
stop
:Yes
do g sarah=died
stop
:No
do g False alarm
stop
}





THis is Fastan's other one..... Instead of run-once 1 and release, he put timeout.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Strategy · Next Topic »
Add Reply

You can make a new webpage for free by clicking this ads. Photobucket For Printing Needs.