AFK for a pee macro [Request Fulfilled]

Macro requests from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

eqaddict
a lesser mummy
a lesser mummy
Posts: 74
Joined: Sun Sep 15, 2002 10:05 pm

AFK for a pee macro [Request Fulfilled]

Post by eqaddict » Tue Sep 17, 2002 7:05 pm

Can someone help me with a macro that will whack whatever attacks me while the char is sitting and I am afk for a min or two. Just would like to know that a skeleton had not killed me when I get back. A melee type macro would be just fine.

many thanx

Java
a lesser mummy
a lesser mummy
Posts: 73
Joined: Sat Jul 13, 2002 12:03 pm

AFK.mac

Post by Java » Tue Sep 17, 2002 10:46 pm

[[ L124RD, master code bracket fixer, strikes again!]]

Code: Select all

| AFK.mac

#event Attacked "YOU for"

sub main
  :loop
 /doevents
/goto :loop
/return

Sub Event_Attacked
/beep
/beep
|
|
/if "$q1"!="" /target $q1
/if n $p0!=1 /if "$target(type)"!="NPC" /assist $q1
:faceloop
  /if "$target()"=="FALSE" /return
 /face
| Put the /sendkey here
 /goto :faceloop
/return

On the /sendkey line , you will need to edit that line to use whatever key you use for attacking.

Hope this helps.
My perception is my reality.

[url=http://www.phpbb.com/][img]http://www.mutedfaith.com/images/illusion.jpg[/img][/url]

eqaddict
a lesser mummy
a lesser mummy
Posts: 74
Joined: Sun Sep 15, 2002 10:05 pm

Awesome

Post by eqaddict » Tue Sep 17, 2002 11:14 pm

Thanx so much!

Works perfectly!

gingertips
a hill giant
a hill giant
Posts: 230
Joined: Wed Jun 26, 2002 3:47 am
Location: Tseu-Qorcam

Post by gingertips » Wed Sep 18, 2002 11:13 am

Hmmm - you missed the line:

/AFK sorry Im away having a pee

Consilium
Contributing Member
Contributing Member
Posts: 100
Joined: Wed Oct 02, 2002 10:42 pm

Post by Consilium » Sun Oct 06, 2002 11:06 pm

gingertips wrote:Hmmm - you missed the line:

/AFK sorry Im away having a pee

Hmm sounds like your off having a cup of pee...lol

:twisted:
-SH
+Student
digitalsavior.com

User avatar
rizwank
Huggle Police
Huggle Police
Posts: 524
Joined: Tue Jul 23, 2002 12:07 am
Contact:

Post by rizwank » Mon Oct 07, 2002 2:29 am

looks bad if you are away and playing "Whack-A-Mob" (TM)
#macroquest op
Macroquest Official Documentarion
Macroquest Board Moderator
All around cool guy

[img]http://medicomuerte.users.btopenworld.com/images/fairy_bounce08.gif[/img]

Java
a lesser mummy
a lesser mummy
Posts: 73
Joined: Sat Jul 13, 2002 12:03 pm

Post by Java » Mon Oct 07, 2002 7:32 am

I Totally agree. Unattended Macro of any sort can raise an eyebrow. Making the Player AFK through a Macro then having that player stand and turn to face a Mob thats attacking is a good example of "Whack-a-mob" Hopefully the user willl not have a bad kidney problem and be doing this too often or will atleast be within ear shot of a couple beeps and without an AFK over their head.
My perception is my reality.

[url=http://www.phpbb.com/][img]http://www.mutedfaith.com/images/illusion.jpg[/img][/url]

Genoius
a lesser mummy
a lesser mummy
Posts: 49
Joined: Sat Jul 13, 2002 8:20 am

Post by Genoius » Mon Oct 07, 2002 2:30 pm

rather than the sendkey line, just use

Code: Select all

/attack on
It works the same as your attack key and doesnt need recoding for peoples various keyboard setups.

Otherwise, great job and simple macro! Not too big for its purpose!

---Genoius---