• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Adding player alerts to your macro.

Redbot

💻❤️
Moderator
Joined
Oct 15, 2004
RedCents
104,068¢
Pronouns
He/Him
Put this in your main loop:

Rich (BB code):
/call playercheck

So it will look something like:

Rich (BB code):
:Loop 
/doevents 
/call playercheck  
/call GMcheck 
/if (${PauseFlag}==1) { 
/delay 1 
/doevents AddAvoid 
/doevents RemoveAvoid 
/goto :Loop

Next, add this where your subs are:

Rich (BB code):
Sub playercheck 
   /if (${Spawn[pc noalert 2 radius 300].ID}) { 
      /echo player nearby 
/g let's get outta here
/keypress up 
/delay 2m 
/say I have to go, my dog is on fire.
/sit 
/camp desk 
/unload 
/end 
   } 
/return


Remember you can have your character do anything after finding a player. I had mine run to my druid who would then teleport me (I can post this code if you guys like), or you can have it /gate and then camp. Just add whatever commands you like after the "/echo player nearby" it's very easy.


If you are powerleveling players, you will want to decide which players you do NOT want to set off the alert. You can either do this manually by typing
"/alert add 2 pc playername"
before you run the macro, or if you have a lot of people you don't want to trigger the alert (for example, you're powerleveling your entire guild), you can make a seperate macro to do it for you like this:

Rich (BB code):
|alert.mac
|RUN THIS FIRST
|list of players to NOT run away from
|Using alert 2 because alert 1 is used by many chant macros
Sub Main
/alert add 2 pc furor
/alert add 2 pc thott
/alert add 2 pc siddin
/alert add 2 pc infernal
/end
/return

and run that BEFORE you run your other macro.
 
How could you do a player check based on the /who command?

Something like, if the who returns anything but "there are 1 players in XXX zone". Then it would stop, pause, or end the macro.

Zepher
 
This probably would not help much, I think GM's can be in the zone and not show up on a /who list.
 
I know GMs can be in a undetectable mode. I was specifically looking for just the player check in zone and not by distance(although I guess I could use 10,000 and it would work).
 
99% of the people caught using macros are petitioned by other players. This is the best GM protection there is in my opinion.
 
Fuggin dilemma here.. I have an asshat cleric that keeps setting off my player detect!!!!!! He is there to loot the mobs that I kill, but its quite annoying.. I tried to talk to him, but he does not respond at all.

To add to all of this I am sure he is macro'n away too! Cause he doesn't walk up to the slain mobs, no, he warps :P.

Any suggestions?
Would laugh if that cleric was on these forums reading this now.. Psu
 
Bah wish I could, got fading memories, but deleveled down to 62 and now I cannot use...

Trust me I have been trying, lol
 
lol you can petition him and say that he's looting your corpses before you have a chance to
 
I would have to agree with Redbot, it's just not right to report on someone for doing something you do. but if you are sure he is using MQ2 then just add him to list so he doesn't set off alerts that would certainly solve that problem
 
I posted in quesions and requests, but I figured I might take a shot here as well-

I've been PL'ing an alt and he keeps tripping my player detection. Can any of you see a problem with the macro? I've commented out the call for playercheck until I can get it to work right.

Rich (BB code):
 This macro made for www.Redguides.com
| Don't steal it or we'll punch your fase!
#turbo  
#event camp "personingroup tells the group, 'lets roll'  
#event dzadd "personyouwanttoadd tells you, 'add me'  
#event invite "#*#invites you to join#*#"  
#Event Zoned "#*#You have entered#*#"  
  
  
Sub Main  

   /alert add 2 playername
   /alert add 2 playername
   /alert add 2 playername
   /alert add 2 playername
    
:loopstart 
/doevents  
/call GMcheck
|/call playercheck
/if (${Target.Level}>67) /tar npc next 
/if (${Target.Distance}>220) /keypress esc  
/if (${Target.ID}==FALSE) /tar NPC radius 220  
/delay 10  
/goto :loopstart  
/return  
  
 Sub GMcheck  
 /if (${Spawn[gm].ID}) {  
 /echo Gm detected  
 /beep
 /keypress 9 
 /endmac 
 /unload 
 /q  
 }  
 /return

Sub playercheck 
   /if (${Spawn[pc noalert 2 radius 300].ID}) { 
       /echo player nearby 
	/log player nearby
	/beep
	/warp succor
	/circle off
	/twist off
	/keypress up 
	/zone potranquility
	/unload
	/end
   } 
/return 

  
 Sub event_camp  
 /sit  
 /camp desk  
 /return  
  
 sub event_zoned  
 /delay 5s  
 /sit  
 /camp desk  
 /endmac 
 /return  

 sub event_dzadd 
 /dzadd personyouwanttoadd 
 /return 

 sub event_invite  
 /invite  
 /return
 
reds example

Rich (BB code):
/alert add 2 pc furor

Your code

Rich (BB code):
/alert add 2 playername


your missing the pc ...

so the toons names are not added to your noalert list

8-)
 
Adding player alerts to your macro.

Users who are viewing this thread

Back
Top
Cart