• 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

annoyingly simple command i cant figure out

ss44

Active member
Joined
Sep 13, 2005
RedCents
31¢
i have set up a stupid little open area melee mac, but it keeps wanting to target/kill guards. what is the command to set a specific level to avoid? I thought it was something like:
/if (${Target.level}>=15) /call doit

but that didnt work. I tried using the search but it wasnt pulling anything up, and I didnt see anything in macros.

Thanks!
 
/if (${Target.Level}>15 || ${Target.Level}<15) /call doit

that would ignore lvl 15 only

or yours would work if you capitalized the L on level.
/if (${Target.Level}>=15) /call doit
assuming the levels you are wanting to avoid are lvl 14 and lower.
 
Here is the macro I am working with, it is a macro that I found and have done some messy changes. Im sure someone can clean it up real fast, if someone could do that.

Pick any mob in a radius
make sure that mob is under a certain level
make sure that mob is NOT being attacked by another character
kill mob
check health
start over.

Rich (BB code):
#event win "#*#You gain experience!!#*#"

Sub Main
/call doit

Sub Event_win
/call doit
/return 

Sub Doit
/doevents
/if (${Spawn[gm].ID}) /q
/if (${Me.PctHPs}<=30) /call heal
/if (${Target.ID}==FALSE) /tar NPC radius 220  
/if (${Target.Distance}>220) /keypress esc  
/if (${Target.PctHPs}<=99) {
/delay 1s
/sit
/delay 1s
/keypress esc
/delay .5s
/call attacked
}
/if (${Target.lvl}>=15) /call doit
/if (${Target.ID}) /call kill
/return

Sub *move*
/face
/keypress back hold
/delay .5s
/keypress up
/stick 7
/attack on
/call kill
/return

Sub kill
/delay .5s
/if (${Target.PctHPs}<=99) {
/delay 1s
/sit
/delay 1s
/keypress esc
/delay .5s
/call attacked
}
/stick 7
/if (${Target.PctHPs}<=99) {
/delay 1s
/sit
/delay 1s
/keypress esc
/delay .5s
/call attacked
}
/attack on
:combatstart
/doevents
/if (${Target.Type.Equal[Corpse]}) /keypress esc
/goto :combatstart
/call wait
/return

Sub attacked
/delay 1s
/attack off
/delay 1s
/keypress back
/keypress back
/delay .5s
/call doit
/return


Sub wait
/if (${Me.PctHPs}<12) {
/call heal
}
/doevents
/if (${Target.ID}) /call kill
/return

Sub heal
/if (${Me.PctHPs}>80) /call doit
/if (${Me.PctHPs}<=80) {
/sit
/delay 10s
/call heal
}
/return
 
This seems to be your problem
Rich (BB code):
/if (${Target.lvl}>=15) /call doit
as it should be
Rich (BB code):
/if (${Target.Level}>=15) /call doit
Although that is looking for things equal to or above level 15. If you want equal to or lower than change >= to <= and if you want just lower than 15 change >= to <
 
Thanks Sid. That is annoying that I had it correct, minus the capitol L lol.
 
annoyingly simple command i cant figure out

Users who are viewing this thread

Back
Top
Cart