Looking for /camp desktop when you die

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

Chanter101
decaying skeleton
decaying skeleton
Posts: 8
Joined: Sun Jan 09, 2005 3:17 am

Looking for /camp desktop when you die

Post by Chanter101 » Fri Jan 21, 2005 3:11 am

Looking for a Sub Event_Zoned /camp desktop when you die. I looked at the manual and got this:

Code: Select all

#event Zoned "You have entered #*#."

Sub Event_Zoned
/delay 1m
/camp desktop
What am I doing wrong here?

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Fri Jan 21, 2005 4:00 am

using "You have entered" is not what you want.

try: "#*#You have been slain#*#"

The otherone will start camping you even if you just zone.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Fri Jan 21, 2005 6:04 am

sub main is missing, for one.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Fri Jan 21, 2005 8:09 am

I was figuring he was just showing us his #event and the sub that went with it, not the whole code. /shrug
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

JGC84
a ghoul
a ghoul
Posts: 116
Joined: Sat Nov 29, 2003 2:51 am

Post by JGC84 » Fri Jan 21, 2005 10:26 am

Code: Select all

/return
ACK! I think I blew it up....

I dont think your allowed to talk about this outside of a "free speech zone" anymore.

Neolesh
a hill giant
a hill giant
Posts: 231
Joined: Mon Aug 23, 2004 11:15 am

Post by Neolesh » Fri Jan 21, 2005 11:16 am

I use..

Code: Select all

#event Slain "You have been slain by#*#"

Sub Event_Slain
  /echo Something went wrong and I died! Ending Macro!
  /delay 200
  /beep
  /camp Desktop
  /delay 40
  /beep
  /endmacro
/return

Chanter101
decaying skeleton
decaying skeleton
Posts: 8
Joined: Sun Jan 09, 2005 3:17 am

Post by Chanter101 » Fri Jan 21, 2005 3:04 pm

Thanks that works great. I was under the impression to use #event zoned from other things I saw. Didn't even camp me when I zoned for some odd reason but #event slain works.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Fri Jan 21, 2005 4:09 pm

Doing and even based on zoning is fine, IF you want to do something each time you zone. However, because you specifically wanted something to do with character death "you have been slain..." then that is the way to go.

Wouldn't want to try to camp out each time you zoned, would you?
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

papanuget
a lesser mummy
a lesser mummy
Posts: 33
Joined: Sat Mar 05, 2005 1:22 pm

Post by papanuget » Mon Mar 07, 2005 5:02 am

why would you wanna camp every time you died?

Geekylad
a lesser mummy
a lesser mummy
Posts: 48
Joined: Tue Jan 04, 2005 11:53 am

Post by Geekylad » Mon Mar 07, 2005 5:04 am

If you're not at the keyboard it's so that you don't expire the rezz timer.

well, thats one reason.

papanuget
a lesser mummy
a lesser mummy
Posts: 33
Joined: Sat Mar 05, 2005 1:22 pm

Post by papanuget » Mon Mar 07, 2005 5:05 am

ahhh. new to the whole macro thing, i just use it to see people on map and to check tribue value on items