• 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

Red Wine/Muffins Turnin (warp and buy more)

nijhal

Member
Joined
Feb 22, 2006
RedCents
10¢
This macro is setup for Neriak C for turning in Red Wine and warping to merchant to buy more wine when out.

This can be used to level low toons afk, or for faction.

Edit Red Wine

Turnin guy name and Merchant guy name to change to muffins for pandos.

Rich (BB code):
|-----------------------------------------------------------------
|Red Wine Turnin MAcro
|Written by : Nijhal
|Usage : /macro nwine
|
|Description : This macro will loop turning in red wine to the npc 
|in neriakc and buying more wine when it runs out.
|
|Thanks to Armysoldier and Z166204 for their help!
|------------------------------------------------------------------

#turbo 40
#include sell.inc 
#include buy.inc 
#include packs.inc 
#include cleanpacks.inc 

    /declare Set int local
    /varset CompA Red Wine

/echo |-------------------------
/echo |Red Win Macro Online.
/echo |-------------------------
/popup Red Wine Macro Online.




Sub Main

  :start
  /target Lokar To`Biath 10
  /echo Heading to Lokar To`Biath
  /popup Heading to Lokar To`Biath
  /delay 1s
  /warp target
  /delay 1s
  /face fast

  /declare chips int local 

:Loop 
/doevents
/call GMCheck
/for chips 1 to 4 
   /ctrlkey /itemnotify ${FindItem[=Red Wine].InvSlot} leftmouseup 
   /if (!${FindItem[=Red Wine].InvSlot}) /call BuyWine
      /delay 2 
   /if (${chips}==1) { 
      /click left target 
      /click left target 
      /delay 1s 
     } 
   /if (${chips}==2) { 
      /notify GiveWnd GVW_MyItemSlot1 leftmouseup 
      /delay 2 
     } 
   /if (${chips}==3) { 
      /delay 2 
      /notify GiveWnd GVW_MyItemSlot2 leftmouseup 
     } 
   /if (${chips}==4) { 
      /delay 2 
      /notify GiveWnd GVW_MyItemSlot3 leftmouseup 
     } 
/next chips 
/delay 2 
/notify GiveWnd GVW_Give_Button leftmouseup 
/delay 2 

:cursorclear 
/delay 2s 
/destroy 
/if (${Cursor.ID}) /goto :cursorclear 
/goto :Loop 







Sub BuyWine
    /delay 1s
    /autoinv
    /autoinv
    /autoinv
    /delay 2s
    /popup Heading to Cecile K`Jartan 
    /target Cecile K`Jartan 
    /face 
    /delay 2s 
    /warp loc 909, -1424, -81
    /delay 2s
    /nomodkey /click right target 
    /delay 2s 

    /call Buy "Red Wine" 60

    /nomodkey /notify MerchantWnd MW_Done_Button LeftMouseUp

    /delay 4s

    /target Lokar To`Biath 10
    /echo Heading to Lokar To`Biath
    /popup Heading to Lokar To`Biath
    /delay 1s
    /warp target
    /delay 1s
    /face fast 
/return


|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|Clear Cursor
|
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub ClearCursor 
/declare x int local 
:auto_inv 
/if (${Cursor.ID}) { 
  /if (${Cursor.Container}) { 
    /for x 1 to 8 
    /if (!${InvSlot[pack${x}].Item.Container}) /nomodkey /itemnotify pack${x} leftmouseup 
    /next x 
  } else { 
    /timed 5 /autoinventory 
  } 
  /goto :auto_inv 
} 
/return 

|-------------------------------------------------------------------------------- 
|SUB: GM Check 
|-------------------------------------------------------------------------------- 
Sub GMCheck 

   /if (${Spawn[gm].ID}) { 
      /beep 
      /beep 
      /beep 
      
      /echo GM has entered the zone! 
      /echo FUCK HIM but ending the macro... 
   
      /keypress instant_camp

      /endmacro 
   } 
    
/return

I Finally contributed!!!!!!!!!!!!!!!!!!!!!!!!!!!

N
 
nijhal said:
This macro is setup for Neriak C for turning in Red Wine and warping to merchant to buy more wine when out.

This can be used to level low toons afk, or for faction.

Edit Red Wine

Turnin guy name and Merchant guy name to change to muffins for pandos.

Rich (BB code):
|-----------------------------------------------------------------
|Red Wine Turnin MAcro
|Written by : Nijhal
|Usage : /macro nwine
|
|Description : This macro will loop turning in red wine to the npc 
|in neriakc and buying more wine when it runs out.
|
|Thanks to Armysoldier and Z166204 for their help!
|------------------------------------------------------------------

#turbo 40
#include sell.inc 
#include buy.inc 
#include packs.inc 
#include cleanpacks.inc 

    /declare Set int local
    /varset CompA Red Wine

/echo |-------------------------
/echo |Red Win Macro Online.
/echo |-------------------------
/popup Red Wine Macro Online.




Sub Main

  :start
  /target Lokar To`Biath 10
  /echo Heading to Lokar To`Biath
  /popup Heading to Lokar To`Biath
  /delay 1s
  /warp target
  /delay 1s
  /face fast

  /declare chips int local 

:Loop 
/doevents
/call GMCheck
/for chips 1 to 4 
   /ctrlkey /itemnotify ${FindItem[=Red Wine].InvSlot} leftmouseup 
   /if (!${FindItem[=Red Wine].InvSlot}) /call BuyWine
      /delay 2 
   /if (${chips}==1) { 
      /click left target 
      /click left target 
      /delay 1s 
     } 
   /if (${chips}==2) { 
      /notify GiveWnd GVW_MyItemSlot1 leftmouseup 
      /delay 2 
     } 
   /if (${chips}==3) { 
      /delay 2 
      /notify GiveWnd GVW_MyItemSlot2 leftmouseup 
     } 
   /if (${chips}==4) { 
      /delay 2 
      /notify GiveWnd GVW_MyItemSlot3 leftmouseup 
     } 
/next chips 
/delay 2 
/notify GiveWnd GVW_Give_Button leftmouseup 
/delay 2 

:cursorclear 
/delay 2s 
/destroy 
/if (${Cursor.ID}) /goto :cursorclear 
/goto :Loop 







Sub BuyWine
    /delay 1s
    /autoinv
    /autoinv
    /autoinv
    /delay 2s
    /popup Heading to Cecile K`Jartan 
    /target Cecile K`Jartan 
    /face 
    /delay 2s 
    /warp loc 909, -1424, -81
    /delay 2s
    /nomodkey /click right target 
    /delay 2s 

    /call Buy "Red Wine" 60

    /nomodkey /notify MerchantWnd MW_Done_Button LeftMouseUp

    /delay 4s

    /target Lokar To`Biath 10
    /echo Heading to Lokar To`Biath
    /popup Heading to Lokar To`Biath
    /delay 1s
    /warp target
    /delay 1s
    /face fast 
/return


|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|Clear Cursor
|
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub ClearCursor 
/declare x int local 
:auto_inv 
/if (${Cursor.ID}) { 
  /if (${Cursor.Container}) { 
    /for x 1 to 8 
    /if (!${InvSlot[pack${x}].Item.Container}) /nomodkey /itemnotify pack${x} leftmouseup 
    /next x 
  } else { 
    /timed 5 /autoinventory 
  } 
  /goto :auto_inv 
} 
/return 

|-------------------------------------------------------------------------------- 
|SUB: GM Check 
|-------------------------------------------------------------------------------- 
Sub GMCheck 

   /if (${Spawn[gm].ID}) { 
      /beep 
      /beep 
      /beep 
      
      /echo GM has entered the zone! 
      /echo FUCK HIM but ending the macro... 
   
      /keypress instant_camp

      /endmacro 
   } 
    
/return

I Finally contributed!!!!!!!!!!!!!!!!!!!!!!!!!!!

N

now you gotta fix it
 
Rich (BB code):
|-----------------------------------------------------------------
|Red Wine Turnin MAcro
|Written by : Nijhal
|Usage : /macro nwine
|
|Description : This macro will loop turning in red wine to the npc 
|in neriakc and buying more wine when it runs out.
|
|Thanks to Armysoldier and Z166204 for their help!
|------------------------------------------------------------------

#turbo 40
#include sell.inc 
#include buy.inc 
#include packs.inc 
#include cleanpacks.inc 

/echo |-------------------------
/echo |Red Win Macro Online.
/echo |-------------------------
/popup Red Wine Macro Online.




Sub Main
    /declare Set int local
    /varset CompA Red Wine

  :start
  /target Lokar To`Biath 10
  /echo Heading to Lokar To`Biath
  /popup Heading to Lokar To`Biath
  /delay 1s
  /warp target
  /delay 1s
  /face fast

  /declare chips int local 

:Loop 
/doevents
/call GMCheck
/for chips 1 to 4 
   /ctrlkey /itemnotify ${FindItem[=Red Wine].InvSlot} leftmouseup 
   /if (!${FindItem[=Red Wine].InvSlot}) /call BuyWine
      /delay 2 
   /if (${chips}==1) { 
      /click left target 
      /click left target 
      /delay 1s 
     } 
   /if (${chips}==2) { 
      /notify GiveWnd GVW_MyItemSlot1 leftmouseup 
      /delay 2 
     } 
   /if (${chips}==3) { 
      /delay 2 
      /notify GiveWnd GVW_MyItemSlot2 leftmouseup 
     } 
   /if (${chips}==4) { 
      /delay 2 
      /notify GiveWnd GVW_MyItemSlot3 leftmouseup 
     } 
/next chips 
/delay 2 
/notify GiveWnd GVW_Give_Button leftmouseup 
/delay 2  

|--  WHY only give 3?  and why all the extra code?  use /for Loops insted of :loops as much as possible


:cursorclear 
/delay 2s 
/destroy 
/if (${Cursor.ID}) /goto :cursorclear 
/goto :Loop 

what is he giving you that you need to destroy?

why not /call ClearCursor?


Sub BuyWine
    /delay 1s
    /autoinv
    /autoinv
    /autoinv

same as above .. why not /call ClearCursor?    /delay 2s
    /popup Heading to Cecile K`Jartan 
    /target Cecile K`Jartan 
    /face you really don't need to face
    /delay 2s 
    /warp loc 909, -1424, -81
    /delay 2s
    /nomodkey /click right target 
    /delay 2s 

    /call Buy "Red Wine" 60

    /nomodkey /notify MerchantWnd MW_Done_Button LeftMouseUp

    /delay 4s

    /target Lokar To`Biath 10
    /echo Heading to Lokar To`Biath
    /popup Heading to Lokar To`Biath
    /delay 1s
    /warp target
    /delay 1s
    /face fast 
/return


|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|Clear Cursor
|
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub ClearCursor 
/declare x int local 
:auto_inv 
/if (${Cursor.ID}) { 
  /if (${Cursor.Container}) { 
    /for x 1 to 8 
    /if (!${InvSlot[pack${x}].Item.Container}) /nomodkey /itemnotify pack${x} leftmouseup 
    /next x 
  } else { 
    /timed 5 /autoinventory 
  } 
  /goto :auto_inv 
} 
/return 

|-------------------------------------------------------------------------------- 
|SUB: GM Check 
|-------------------------------------------------------------------------------- 
Sub GMCheck 

   /if (${Spawn[gm].ID}) { 
      /beep 
      /beep 
      /beep 
      
      /echo GM has entered the zone! 
      /echo FUCK HIM but ending the macro... 
   
      /keypress instant_camp

      /endmacro 
   } 
    
/return
 
Fix it?

Its working perfect for me.

Unless you mean changing names to variables, or making an ini file by zone or usage

/mac nwine redwine
/mac nwine muffins

ect...

If its not workin let me know :)

Edit: Doh didnt see red in your code lol

N
 
i would also add a player check

use this command with your toons name ...

/alert add 2 pc playername


and here is the sub


Rich (BB code):
Sub PC 

   :redopc
   /if (${Spawn[pc noalert 2 radius 100].ID}) { 
      /echo player nearby 
      /beep 
      /beep 
      /beep 
      
      /echo Player Nearby!!! 
      /echo pausing the macro... 

      /afk BRB ..... Do not leave a message I will not answer 8-)
      /delay 2m
      /goto :redopc
   } 
/return
 
not sure how yours is working when your delcare is outside the SUB MAIN

army
 
Army, for the turnin code i got it from an old macro a friend gave me.

When its out of Red Wine but with one left on cursor it thinks its out (dont turn in last one) thats why the autoinv.

I am still learning macroing so I didnt know how to condense the turnin code.

If you cleaned it up I am sure I would learn how to myself. As thats how I have learned all I did now. I still gotta test my BBMM macs but my friend still not online. As I said still learning this is two weeks of learning and I think Im getting better. I wanna make alot more bigger elaborate macros but still alot to learn about variables and declares and ini files.

N
 
not sure how yours is working when your delcare is outside the SUB MAIN

/call Buy "Red Wine" 60

Cause I didnt make red wine a variable, just forgot to take out the code.

N
 
beyondcompare2 is freeware... grab a copy of it .. then you can look at my code and your code and see all the differences

when writing code you want it as simple as possible ... and easy to read

your give function is too much .. all you need to do is /click left target 4 times.. after you have gotten the item out of your inventory

using for loops is faster for the code... it knows exactly where to go .. VS :Loops then the code looks though the whole code before proceeding... sometimes its necessary .. like the :Done line..

next is .. ${FindItemCount[NAME]} is a great function .. make the user have 60 wines on him .. and BAM now your doing 15 sets of 4 .. nice and simple

Also use the variable for the wine if you want to make this versitile .. possible even make the two merchants variables also ...

then its one little section someone can change to use for muffins or bone chips or what ever ... ENDLESS possiblities

Lastly PC check .. necessary for where you are doing this .. and what you are doing...

I would prob change the range a little bigger though

Take a look

ARMY

Rich (BB code):
|-----------------------------------------------------------------
|Red Wine Turnin MAcro
|Written by : Nijhal
|Usage : /macro nwine
|
|Description : This macro will loop turning in red wine to the npc 
|in neriakc and buying more wine when it runs out.
|------------------------------------------------------------------


#include common/sell.inc 
#include common/buy.inc 
#include common/packs.inc 
#include common/cleanpacks.inc 

/echo |-------------------------
/echo |Red Win Macro Online.
/echo |-------------------------
/popup Red Wine Macro Online.




Sub Main

    /declare CompA item outer Red Wine
    /declare Wine int local
    /declare Set int local

:Loop

/if (${FindItemCount[=Red Wine]}<60) { 
  /echo Less than 60 getting more stuff. 
  /popup Less than 60, Getting more stuff...
  /call BuyWine 
} 

  /call GMCheck
  /Call PC
  /target Lokar To`Biath
  /echo Heading to %t
  /popup Heading to %t
  /delay 1s
  /warp target
  /delay 1s
  /face fast

/for Set 1 to 15
/for Wine 1 to 4 
   /ctrlkey /itemnotify ${FindItem[=Red Wine].InvSlot} leftmouseup 
       /delay 2s
       /if (!${Cursor.ID}) /goto :Done 
       /click left target
/delay 2s
/next Wine 
/notify GiveWnd GVW_Give_Button leftmouseup 
/delay 4 

/call ClearCursor

/next Set
:Done 

/goto :Loop
  /return




Sub BuyWine
    /call GMCheck
    /Call PC
    /delay 1s 
    /target Cecile K`Jartan 
    /face 
    /delay 1s 
    /warp loc 909, -1424, -81
    /delay 1s
    /nomodkey /click right target 
    /delay 1s 

    /call Buy "${CompA}" 60

    /nomodkey /notify MerchantWnd MW_Done_Button LeftMouseUp

    /keypress esc 
    /delay 2s
/return 

|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|Clear Cursor
|
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub ClearCursor 
/declare x int local 
:auto_inv 
/if (${Cursor.ID}) { 
  /if (${Cursor.Container}) { 
    /for x 1 to 8 
    /if (!${InvSlot[pack${x}].Item.Container}) /nomodkey /itemnotify pack${x} leftmouseup 
    /next x 
  } else { 
    /timed 5 /autoinventory 
  } 
  /goto :auto_inv 
} 
/return 

|-------------------------------------------------------------------------------- 
|SUB: GM Check 
|-------------------------------------------------------------------------------- 
Sub GMCheck 

   /if (${Spawn[gm].ID}) { 
      /beep 
      /beep 
      /beep 
      
      /echo GM has entered the zone! 
      /echo FUCK HIM but ending the macro... 
   
      /keypress instant_camp

      /endmacro 
   } 
    
/return 


|-------------------------------------------------------------------------------- 
|SUB: Player Check 
|-------------------------------------------------------------------------------- 
Sub PC 

   :redopc
   /if (${Spawn[pc noalert 2 radius 100].ID}) { 
      /echo player nearby 
      /beep 
      /beep 
      /beep 
      
      /echo Player Nearby!!! 
      /echo pausing the macro... 

      /afk BRB .....
      /delay 2m
      /goto :redopc
   } 
/return
 
do not think i am trying to be mean or anything ....

i learned the same way ... have someone trouble shoot your code..

and take lots of notes.. 8-)

its a great start ...

i know we will see lots more good stuff from ya

GO GO GOOD TEAM

ARMY
 
I don't know what this is doing.

/timed 5 /autoinventory

I mean I get the /autoinv but the /timed 5 that just saying to do it five times?
 
Nijal, how about adding in some AdvPath? That way it is less likely for a player to pick up on that your are warping around?
 
Pugs said:
I don't know what this is doing.

/timed 5 /autoinventory

I mean I get the /autoinv but the /timed 5 that just saying to do it five times?

/timed deciseconds command

Executes a command after a specified duration (in deciseconds like pause)
 
Could this be used to level evolving items as you gain the xp or have they changed they way that works?
 
I honestly dont know how long it would take to level, or to level evolving items.

Thank you for all the suggestions guys and the tips, here it is re-written for use in qeynos for the Brandy for Captain Rohand quest.

Rich (BB code):
|-----------------------------------------------------------------
|Red Wine Turnin MAcro
|Written by : Nijhal
|Usage : /macro nwine
|
|Description : This macro will loop turning in red wine to the npc 
|in neriakc and buying more wine when it runs out.
|------------------------------------------------------------------

#turbo 40
#include sell.inc 
#include buy.inc 
#include packs.inc 
#include cleanpacks.inc 

    /declare Set int local
    /varset CompA Red Wine

/echo |-------------------------
/echo |Red Win Macro Online.
/echo |-------------------------
/popup Red Wine Macro Online.




Sub Main

  :start
  /target Captain
  /echo Heading to Captain Rohand
  /popup Heading to CapTain Rohand
  /delay 1s
  /warp target
  /delay 1s
  /face fast

  /declare chips int local 

:Loop 
/doevents
/call GMCheck
/for chips 1 to 4 
   /ctrlkey /itemnotify ${FindItem[=Brandy].InvSlot} leftmouseup 
   /if (!${FindItem[=Brandy].InvSlot}) /call BuyWine
      /delay 2 
   /if (${chips}==1) { 
      /click left target 
      /click left target 
      /delay 1s 
     } 
   /if (${chips}==2) { 
      /notify GiveWnd GVW_MyItemSlot1 leftmouseup 
      /delay 2 
     } 
   /if (${chips}==3) { 
      /delay 2 
      /notify GiveWnd GVW_MyItemSlot2 leftmouseup 
     } 
   /if (${chips}==4) { 
      /delay 2 
      /notify GiveWnd GVW_MyItemSlot3 leftmouseup 
     } 
/next chips 
/delay 2 
/notify GiveWnd GVW_Give_Button leftmouseup 
/delay 2 

:cursorclear 
/delay 2s 
/destroy 
/if (${Cursor.ID}) /goto :cursorclear 
/goto :Loop 







Sub BuyWine
    /delay 1s
    /call GMCheck
    /autoinv
    /autoinv
    /autoinv
    /delay 2s
    /popup Heading to Sunsa Jocub
    /target Sunsa Jocub
    /face 
    /delay 2s 
    /warp loc -314, -283, -3
    /delay 2s
    /nomodkey /click right target 
    /delay 2s 

    /call Buy "Brandy" 381

    /nomodkey /notify MerchantWnd MW_Done_Button LeftMouseUp

    /delay 4s

    /target Lokar To`Biath 10
    /echo Heading to Lokar To`Biath
    /popup Heading to Lokar To`Biath
    /delay 1s
    /warp target
    /delay 1s
    /face fast 
/return


|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|Clear Cursor
|
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub ClearCursor 
/declare x int local 
:auto_inv 
/if (${Cursor.ID}) { 
  /if (${Cursor.Container}) { 
    /for x 1 to 8 
    /if (!${InvSlot[pack${x}].Item.Container}) /nomodkey /itemnotify pack${x} leftmouseup 
    /next x 
  } else { 
    /timed 5 /autoinventory 
  } 
  /goto :auto_inv 
} 
/return 

|-------------------------------------------------------------------------------- 
|SUB: GM Check 
|-------------------------------------------------------------------------------- 
Sub GMCheck 

   /if (${Spawn[gm].ID}) { 
      /beep 
      /beep 
      /beep 
      
      /echo GM has entered the zone! 
      /echo FUCK HIM but ending the macro... 
   
      /keypress instant_camp

      /endmacro 
   } 
    
/return

N
 
DUDE

your making same mistakes over and over again ... lol

/declare Set int local
/varset CompA Red Wine

goes AFTER SUB MAIN!!!!!!

omg /BONK


8-)
 
Last edited:
Rich (BB code):
|-----------------------------------------------------------------
|Red Wine Turnin MAcro
|Written by : Nijhal
|Usage : /macro nwine
|
|Description : This macro will loop turning in red wine to the npc 
|in neriakc and buying more wine when it runs out.
|------------------------------------------------------------------


#include common/sell.inc 
#include common/buy.inc 
#include common/packs.inc 
#include common/cleanpacks.inc 

/echo |-------------------------
/echo |Red Win Macro Online.
/echo |-------------------------
/popup Red Wine Macro Online.




Sub Main

    /declare CompA item outer Red Wine
    /declare Wine int local
    /declare Set int local

:Loop

/if (${FindItemCount[=Red Wine]}<60) { 
  /echo Less than 60 getting more stuff. 
  /popup Less than 60, Getting more stuff...
  /call BuyWine 
} 

  /call GMCheck
  /Call PC
  /target Lokar To`Biath
  /echo Heading to %t
  /popup Heading to %t
  /delay 1s
  /warp target
  /delay 1s
  /face fast

/for Set 1 to 15
/for Wine 1 to 4 
   /ctrlkey /itemnotify ${FindItem[=Red Wine].InvSlot} leftmouseup 
       /delay 2s
       /if (!${Cursor.ID}) /goto :Done 
       /click left target
/delay 2s
/next Wine 
/notify GiveWnd GVW_Give_Button leftmouseup 
/delay 4 

/call ClearCursor

/next Set
:Done 

/goto :Loop
  /return




Sub BuyWine
    /call GMCheck
    /Call PC
    /delay 1s 
    /target Cecile K`Jartan 
    /face 
    /delay 1s 
    /warp loc 909, -1424, -81
    /delay 1s
    /nomodkey /click right target 
    /delay 1s 

    /call Buy "${CompA}" 60

    /nomodkey /notify MerchantWnd MW_Done_Button LeftMouseUp

    /keypress esc 
    /delay 2s
/return 

|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|Clear Cursor
|
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sub ClearCursor 
/declare x int local 
:auto_inv 
/if (${Cursor.ID}) { 
  /if (${Cursor.Container}) { 
    /for x 1 to 8 
    /if (!${InvSlot[pack${x}].Item.Container}) /nomodkey /itemnotify pack${x} leftmouseup 
    /next x 
  } else { 
    /timed 5 /autoinventory 
  } 
  /goto :auto_inv 
} 
/return 

|-------------------------------------------------------------------------------- 
|SUB: GM Check 
|-------------------------------------------------------------------------------- 
Sub GMCheck 

   /if (${Spawn[gm].ID}) { 
      /beep 
      /beep 
      /beep 
      
      /echo GM has entered the zone! 
      /echo FUCK HIM but ending the macro... 
   
      /keypress instant_camp

      /endmacro 
   } 
    
/return 


|-------------------------------------------------------------------------------- 
|SUB: Player Check 
|-------------------------------------------------------------------------------- 
Sub PC 

   :redopc
   /if (${Spawn[pc noalert 2 radius 100].ID}) { 
      /echo player nearby 
      /beep 
      /beep 
      /beep 
      
      /echo Player Nearby!!! 
      /echo pausing the macro... 

      /afk BRB .....
      /delay 2m
      /goto :redopc
   } 
/return

go test this code.. if it works then great .. call it your own and move on!!

ARMY
 
Red Wine/Muffins Turnin (warp and buy more)

Users who are viewing this thread

Back
Top
Cart