Paranoid.mac - For Discord Server

A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.

Moderator: MacroQuest Developers

battaile
Contributing Member
Contributing Member
Posts: 40
Joined: Tue Dec 09, 2003 10:55 am

Paranoid.mac - For Discord Server

Post by battaile » Thu Dec 25, 2003 4:58 pm

Reqested here: http://macroquest2.com/phpBB2/viewtopic.php?t=4720

Checks for players w/in 200 range of you that are pk level (6+) and alerts you with a /who list and message when detected. Got the searchspawn syntax from a_troll's sample.

Code: Select all

Sub Main 
   /zapvars
   /declare testRadius global

| SET THIS TO THE RADIUS YOU WISH TO CHECK
   /varset testRadius 200 

   :MainLoop 
   /if n $searchspawn(pc,range:6:50,radius:@testRadius)!=0 {  
      /who pc range 6 50 radius @testRadius

| PUT WHATEVER YOU WANT FOR WARNING TEXT HERE OR REMOVE IT
      /echo PK PROXIMITY ALERT 

|SPAM THROTTLE...ONCE SOMETHING FOUND HOW OFTEN DO YOU WANT IT TO LOOK?
      /delay 5s
      /goto :MainLoop
   } else { 

      /goto :MainLoop
   } 
/return 
Last edited by battaile on Thu Dec 25, 2003 5:33 pm, edited 1 time in total.

cronic
a grimling bloodguard
a grimling bloodguard
Posts: 536
Joined: Wed Nov 26, 2003 11:01 pm

Post by cronic » Thu Dec 25, 2003 5:07 pm

Here's an idea for you. Perhaps you could add in functionality to, as an option, leave out group members from the warning?

Just a thought.

Looks like a handy macro.

cronic

battaile
Contributing Member
Contributing Member
Posts: 40
Joined: Tue Dec 09, 2003 10:55 am

Post by battaile » Thu Dec 25, 2003 5:16 pm

Here's an idea for you. Perhaps you could add in functionality to, as an option, leave out group members from the warning?
Good idea, I might work on that later today or this weekend sometime.
Looks like a handy macro.
I hope on Discord it will be, I've only tried it in PoK on my home server though, and its about annoying as cr*p there. :D