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

How can I tell my computer to ... (1 Viewer)

Hoecus

Member
Joined
Dec 6, 2006
RedCents
91¢
I want to know how to let my computer know when I have no target. Then when I have no target I want it to go back to the main program and continue.

The use I have for this is autofire. I want the program to immediately go to the top of the program if the target is blank.

I tried to make a simple IF statement but it wouldn't work. It was this

if ((autofire)==off) then /autofire
/goto :main
/return

Any help out there?

Hoecus
 
Rich (BB code):
/if (!${Target.ID}) /goto :main

will look to see if you have a target. if not then it goes to :main

Now, you may want to do it something like this
Rich (BB code):
/if ((${Target.ID} && ${Target.Type.NotEqual[NPC]}) || !${Target.ID}) {
/squelch /target clear
/goto :main
}
this line checks if you ( have a target and it's not equal to an npc ) or ( you have no target ). If either of those are true, then it clears the target (in case anything was there) and then goes to :main
 
How can I tell my computer to ...

Users who are viewing this thread

Back
Top