• 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 --->

help with code. (1 Viewer)

Joined
Sep 26, 2005
RedCents
Rich (BB code):
/for i 0 to 8
		/target npc chest0${i}
		/if (${Target.ID}) {
				/warp target
				/delay 1s 
				/open
			 	/warp succor
                                                   /delay 1s
				/fade	
                                                   /delay 5s
                                                   /keypress 1
                                                   /delay 3s
				/echo Chest0${i} finished.
				/echo Are you at full health? heal up 
                                                   /echo just say i am ready 
		}
/if text= “i am ready” then next i


This is my code need help fixing it. I get hit warping to the chests. So i put the i am ready code in there to pause and heal up. I see 2 things wrong with this.
1. when it echos just say i am ready it will triger it and move to next 1 anyway.
2. dont think
Rich (BB code):
/if text= “i am ready” then next i
is valid code but i know you can do this. Please help my code :)
 
This waits 30 mins or until you're full health before continuing to each chest.

Rich (BB code):
/for i 0 to 8
    /target npc chest0${i}
        /if (${Target.ID}) {
            /warp target
            /delay 1s 
            /open
            /warp succor
            /delay 1s
            /fade	
            /delay 5s
            /keypress 1
            /delay 3s
            /echo Chest0${i} finished.
            /echo Waiting for full health before continuing...
            /delay 30m ${Me.PctHPs}>99
        }
/next i

-SimpleMynd
 
I'm not sure what you're trying to do, but if I understand you right, then you want something triggered when you yourself say "I am ready"?

To catch anything coming from the chat you need to use events

Rich (BB code):
#Event ImReady "You say, 'I am ready'"
Sub Event_ImReady
/echo Wauw, great, good for you. Now get moving"
/return

Then you need to somewhere get a loop running where you do "/doevents" or "/doevents say" (last one is better I think).

However.. If it's because you're simply pausing the macro till you get a response from the user, then just use "/mqpause on" to pause it and then tell the user to "/mqpause off" when ready to continue.
 
pwaggs said:
This waits 30 mins or until you're full health before continuing to each chest.

Rich (BB code):
/for i 0 to 8
    /target npc chest0${i}
        /if (${Target.ID}) {
            /warp target
            /delay 1s 
            /open
            /warp succor
            /delay 1s
            /fade	
            /delay 5s
            /keypress 1
            /delay 3s
            /echo Chest0${i} finished.
            /echo Waiting for full health before continuing...
            /delay 30m ${Me.PctHPs}>99
        }
/next i

-SimpleMynd

Ok on this one i can manualy heal to 100% then it auto starts right? It wont interfere with the macro at all as i heal myself.
 
EvenLessSpam said:
I'm not sure what you're trying to do, but if I understand you right, then you want something triggered when you yourself say "I am ready"?

To catch anything coming from the chat you need to use events

Rich (BB code):
#Event ImReady "You say, 'I am ready'"
Sub Event_ImReady
/echo Wauw, great, good for you. Now get moving"
/return

Then you need to somewhere get a loop running where you do "/doevents" or "/doevents say" (last one is better I think).

However.. If it's because you're simply pausing the macro till you get a response from the user, then just use "/mqpause on" to pause it and then tell the user to "/mqpause off" when ready to continue.

Thanks evenless this helps me on another part of my macro :)
 
help with code.

Users who are viewing this thread

Back
Top