AdvGmRun.mac - Most Advanced GM check made for 2002-07-06+

Macro depository for macros written before the user variable changes that broke all of them.

Moderator: MacroQuest Developers

User avatar
Goge
Macro Author
Macro Author
Posts: 71
Joined: Sat Jun 15, 2002 11:55 am
Location: Terra

AdvGmRun.mac - Most Advanced GM check made for 2002-07-06+

Post by Goge » Thu Jul 04, 2002 11:32 pm

This is mostly (dare i say all :\ ) Zaphod's Script and i give him full credit!
He beat me t the punch of a morking model :)

*Edited from here on in, now works*
okay this will look in the tells to see if a gm sent you a tell, aslo check if a gm is in the zone. This works, I use it in EVERY macro I have that is remotely possible to be contacted by a gm while I'm not there.


add this near the top
#chat tell
#chat say

and add
/if $gm==TRUE /call Crap
and
/doevents
to the main loop, where ever it is. Note if you have a doevents somewhere you don't really need to add another.

add this to you Event_Chat or use the one given below

Code: Select all

Sub Event_Chat 
   /if "$p1"~~"MERCHANT" /return
   /beep
   /if $p0==tell {
      /delay 2
      /beep
      /delay 2
      /beep
   }
   /mqlog $p0 from $p1: $p2 
   /if n $v35==1 /return
   /if "$p0"~~"GM" /call Crap2 "$p1"
   /if "$p2"~~"GM" /call Crap2 "$p1"
   /if "$p2"~~"Guide" /call Crap2 "$p1"
/return
*note* MERCHANT is the merchant's name that you may be infront of and buying items from/ selling too. if there is no merchant (ex. fishing) remove the line
Aslo:
1 beep = a say or a merchant being opened by another player.
3 beeps = a tell to you that is not a gm.
hellalotta beeps = a GM in zone or sent you a tell


put this Sub somewhere in you macro

Code: Select all

Sub Crap2 
   /varset v35 1
   /press CTRL
   /press shift
   /press alt
   /afk I gotta go, problems in the real world.
   /beep
   /delay 17
   /cry
   /delay 2
   /delay 8
   /reply Gotta leave fast.  Talk to you later.
   /cleanup 
   /delay 5
   /mqlog GM talked to us... idling
   /log            | if you turn log on every time you get on eq delete this line
   /who all GM
   /who all $p0
   /call LogStats
   /beep
:LoopTillMasterHome
  /doevents
  /delay 20
  /beep
  /if n v37==0 /goto :LoopTillMasterHome
  /endmacro
/return 

Sub Crap
   /press CTRL
   /press shift
   /press alt
   /target myself
   /sigh
   /beep
   /delay 2
   /press esc
   /press esc
   /press esc
   /delay 5
   /beep
   /mqlog GM in zone... idling
   /who all GM
   /delay  4
   /who all ench
   /delay 6
   /afk
   /beep
|   /afk I gotta go, RL isssue, will be back soon. 
   /call LogStats
:LoopTillMasterHome
  /doevents
  /delay 20
  /beep
  /if n v37==0 /goto :LoopTillMasterHome
  /mqlog finally master home, they can take over
  /endmacro
/return
done. have fun.
Last edited by Goge on Sat Jul 20, 2002 11:03 pm, edited 2 times in total.
He who sleep with Itchy arse wake with Smelly finger.

User avatar
Goge
Macro Author
Macro Author
Posts: 71
Joined: Sat Jun 15, 2002 11:55 am
Location: Terra

Post by Goge » Thu Jul 04, 2002 11:57 pm

hhmmmm, okay this is buggy so as of now it is concept :)

it is coming up with there being a gm in the zone and you being moved even though neither of those are true :\
He who sleep with Itchy arse wake with Smelly finger.

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Thu Jul 04, 2002 11:59 pm

salutations,
maybe i'll fix it later.. now... i'm going to go do fireworks...

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Fri Jul 05, 2002 1:01 am

Salutations,
just looking it over, varsets aren't called when a macro is loaded if they are not in a loop... use quotes for gm check
/if "$gm"=="TRUE" {
Also, please follow the topic name rules...

User avatar
Goge
Macro Author
Macro Author
Posts: 71
Joined: Sat Jun 15, 2002 11:55 am
Location: Terra

Post by Goge » Sat Jul 20, 2002 11:06 pm

updated, it now works.
note this is all zaphod's and i do not wish to take credit, only share the joy and safety.

*note* i think i have permission to do this O.o i'd bet i do.
He who sleep with Itchy arse wake with Smelly finger.

Gengis
a ghoul
a ghoul
Posts: 116
Joined: Wed Aug 14, 2002 7:46 pm

Post by Gengis » Mon Aug 19, 2002 6:07 am

bah trying to figure out how to post code

User avatar
RPZip
a lesser mummy
a lesser mummy
Posts: 63
Joined: Sun Aug 11, 2002 11:31 pm

Post by RPZip » Mon Aug 19, 2002 11:15 am

Gengis-

type ([)code(]), minus the (), and ([/]code(]) to end it.

Goober
orc pawn
orc pawn
Posts: 20
Joined: Thu Aug 15, 2002 9:38 pm

...

Post by Goober » Mon Aug 19, 2002 3:55 pm

What exactly does this do? Just send beeps when a GM talks to you? Or does it actually camp you?

Goober

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

Post by Java » Fri Oct 11, 2002 8:34 pm

Goober.
Practice reading. Then try to explain what you just read. So in real life when you get a note from your Kid "I ran away from home to play EQ"
You won't wonder where your kid is and say to others "Does this mean you won't be home for Dinner?"

Gees.
Read the Post again. It tells you :
1 beep for /say.. like a merchant chat etc.
3 beeps for a tell to you
and a sack full of Beeps when a GM has contacted you.

Wow that was so hard to reiterate.. i need an Aspirin now.. my brain got a new wrinkle.

P.S. Sorry Goober. it's a peeve of mine. Kids will do that to you.
(i.e.. Kid says "Can i play EQ till 3am?" .. Parent says "No." kid says " what do you mean by that ? ")
My perception is my reality.

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

wolfean
decaying skeleton
decaying skeleton
Posts: 5
Joined: Tue Oct 01, 2002 4:04 pm

Will this work

Post by wolfean » Sat Oct 12, 2002 6:12 pm

okay say i already have the typical to continue when a merchant responds

Code: Select all

Sub Event_Chat
/if "$p1"~~"MERCHANT" { 
/if "$p0"~~"say" /if "$p2"~~"$char(name)" /varset v65 1 
/return 
} 
/if "$p0"~~"tell" { 
/mqlog $p0 from $p1: $p2 
} 
/return

for the sub Event_chat, so if i can i make it

Code: Select all

Sub Event_Chat
/if "$p1"~~"MERCHANT" { 
/if "$p0"~~"say" /if "$p2"~~"$char(name)" /varset v65 1 
/return 
} 
/if "$p0"~~"tell" { 
/mqlog $p0 from $p1: $p2 
} 
/return

   /if "$p3"~~"MERCHANT" /return 
   /beep 
   /if $p4==tell { 
      /delay 2 
      /beep 
      /delay 2 
      /beep 
   } 
   /mqlog $p4 from $p1: $p5 
   /if n $v35==1 /return 
   /if "$p4"~~"GM" /call Crap2 "$p4" 
   /if "$p5"~~"GM" /call Crap2 "$p4" 
   /if "$p5"~~"Guide" /call Crap2 "$p4" 
/return 


with changing those variables? don't really understand the $p# command.

wolfean
decaying skeleton
decaying skeleton
Posts: 5
Joined: Tue Oct 01, 2002 4:04 pm

Post by wolfean » Sat Oct 12, 2002 8:55 pm

Well I found the special Sub Event_Chat commands so now more confused.

i'm off to /ponder

wolfean
decaying skeleton
decaying skeleton
Posts: 5
Joined: Tue Oct 01, 2002 4:04 pm

Post by wolfean » Sat Oct 12, 2002 9:15 pm

Last Post i swear, by the way its a hell of alot easier to read the code after reading every single message on this board. My advice for anyone new like me.

Code: Select all

sub Event_Chat 

/if "$p1"~~"MERCHANT" { 
/if "$p0"~~"say" /if "$p2"~~"$char(name)" /varset v65 1 
/return
/beep  
} 

/if $p0==tell { 
      /delay 2 
      /beep 
      /delay 2 
      /beep 
   }  
/mqlog $p0 from $p1: $p2 
   /if n $v35==1 /return 
   /if "$p0"~~"GM" /call Crap2 "$p1" 
   /if "$p2"~~"GM" /call Crap2 "$p1" 
   /if "$p2"~~"Guide" /call Crap2 "$p1" 
/return