• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->
  • Unfortunately, yes, there is a suspension wave happening around the new tlp launch. :'( Please keep regular discussion to Suspension MegaThread and please consider submitting a Suspension report to RG.

help with macro (1 Viewer)

ketchup82

New member
Joined
Dec 19, 2005
RedCents
any help getting this to work would be appriceated. keep gettting message subroutine main wasn't found

#chat tell
#event Exp "You gain experience!!"
#event Level "You have gained a level! Welcome to level #1#!"
#event Tell "GM"
#event GM "Guide"
#event Text "Hello,"

Sub Main
/declare TimesRun int outer
/varset TimesRun 0
:loop
/call Checks
/tar npc exam
/delay 0.5s
/saytarget i would like to begin
/delay 0.5s
/tar npc ontu
/delay 1s
/give
/notify GiveWnd GVW_Give_Button leftmouseup
/doevents
/goto :loop
/return

Sub Event_Exp
/varcalc TimesRun ${TimesRun}+1
/return

Sub Event_Level(LevelText)
/echo Level ${LevelText} took ${TimesRun} runs...
/varset TimesRun 0
/return

|--------------------------------------------------|
| Checks for GM's and Players |
|--------------------------------------------------|
Sub Checks

:check

/if (${SpawnCount[pc radius 200]}>1) {
/echo Player is close...
/echo Pausing the Macro until they leave...
/beep
/beep
/afk Went to go get beer, brb
/delay 5s
/goto :check
}
/if (${Spawn[gm].ID}) {
/echo GM has entered the zone!
/popup [GM IN ZONE, PAUSING MACRO UNTIL THEY LEAVE]
/beep
/beep
/gate
/camp desktop
/endmac
/delay 5s
/goto :check
}
/doevents next
/return

|------------------------------------------------------|
| Handles Tells |
|------------------------------------------------------|
Sub event_Tell
/beep
/beep
/afk brb, getting a drink
/endmac

|------------------------------------------------------|
| Handles GM stuff |
|------------------------------------------------------|
Sub event_Hello
/delay 10s
/r Sec, gotta restart my computer.. it's being all buggy
/beep
/delay 1s
/exit

|------------------------------------------------------|
| Handles GM stuff |
|------------------------------------------------------|
Sub event_GM
/delay 10s
/r Sec, gotta restart my computer.. it's being all buggy
/beep
/beep
/delay 1s
/exit

|------------------------------------------------------|
| Handles GM stuff |
|------------------------------------------------------|
Sub event_Guide
/delay 10s
/r Sec, gotta restart my computer.. it's being all buggy
/beep
/beep
/delay 1s
/exit
 
Rich (BB code):
#event Exp "You gain experience!!"
#event Level "You have gained a level! Welcome to level #1#!"
#event Tell "GM"
#event GM "Guide"
#event Text "Hello"

Sub Main
/declare TimesRun int outer
/varset TimesRun 0
:loop
/call Checks
/call Zonecheck
/tar npc exam
/delay 0.5s
/saytarget i would like to begin
/delay 0.5s
/tar npc ontu
/delay 1s
/give
/notify GiveWnd GVW_Give_Button leftmouseup 
/doevents
/goto :loop
/return

Sub Event_Exp
/varcalc TimesRun ${TimesRun}+1
/return

Sub Event_Level(LevelText)
/echo Level ${LevelText} took ${TimesRun} runs...
/varset TimesRun 0
/return


--------------------------------------------------
Checks to see if you aren't in seru
--------------------------------------------------
{
/if (${Zone.ID}!=159)      /z sseru
}
/return

--------------------------------------------------
 Checks for GM's and Players                                 
--------------------------------------------------
Sub Checks 

:check
 
 /if (${Spawn[gm].ID}) { 
     /echo GM has entered the zone!
     /popup [GM IN ZONE, PAUSING MACRO UNTIL THEY LEAVE]
     /beep
     /beep
     /beep
     /beep
     /gate
     /camp desktop
      /endmac
     /delay 5s
     /goto :check
} 
 /doevents next
 /return 

------------------------------------------------------
 Handles Tells                                        
------------------------------------------------------
Sub event_Tell
/beep
/beep
/beep
/beep
/beep
/gate
/afk
/endmac

------------------------------------------------------
 Handles GM stuff                                     
------------------------------------------------------
Sub event_Text
/delay 10s
/r Sec, gotta restart my computer.. it's being all buggy
/beep
/beep
/beep
/beep
/delay 1s
/exit

------------------------------------------------------
 Handles GM stuff                                     
------------------------------------------------------
Sub event_GM
/delay 10s
/r Sec, gotta restart my computer.. it's being all buggy
/beep
/beep
/beep
/beep
/delay 1s
/exit
Should work if you aren't in the zone due to being deaded
 
Last edited:
If you're going to have this sub event at the bottom:

Rich (BB code):
Sub event_Guide
/delay 10s
/r Sec, gotta restart my computer.. it's being all buggy
/beep
/beep
/beep
/delay 1s
/exit

It might be helpful to add an event to trigger it at the top:
Rich (BB code):
#Event Guide "#*#whatever#*#"

Same for sub event_hello.

=)
 
help with macro

Users who are viewing this thread

Back
Top