Need help with some code

Swazafix

New member
Joined
Jan 17, 2007
Messages
317
Reaction score
0
Points
0
I'm looking for code that I could add into assisting macro that if I die it would end the macro and auto camp me.

Can anyone help me on this?
Thanks.
 
Something like this. Not sure if the InvSlot line is correct syntax But thats how I would do it.
Code:
/if (!${InvSlot[Chest].ID}) /call Campout


Sub Campout
/camp desktop
/endmacro
/return