Help me fil in the blanks please

Slaymore

New member
Joined
Feb 10, 2013
Messages
40
Reaction score
0
Points
0
Looking for some help on this simple snippet. Basically check if Gift of Mana is active then press key 6 and return.

TIA for aany help

Code:
Sub GOM
   /if (GIFT OF MAGIC) { 
    /keypress 6   
   } 
/return
 
/if (${Me.GoM}) /keypress 6
 
I can just not get this to work

tried this as well, no luck

/if (${Me.AltAbility[Gift of Exquisite Radiant Mana].ID}) /keypress 6

Im sure its something simple .. to someone lol
 
It is Me.GoM using mmobugs compile. I know because i wrote that particular one.
 
hmm here is my whole basic script (i like to drive my actions via eqbc hotkeys)

Sub Main
|################################################
| GET TARGET AND ATTACK
:start
/call GMCheck
/target los npc rat radius 100
/keypress 2
/delay 2s
/keypress 3
/delay 2s
/keypress 4
/delay 4s
/keypress 5
/delay 3s
/call GOM
/delay 45s
/goto :start

|################################################
Sub GOM
/if (${Me.GoM}) /keypress 6
/return

|################################################
Sub GMCheck
/if (${Spawn[gm].ID}) {
/beep
/beep
/beep
/echo GM has entered the zone!
/echo FUCK HIM but ending the macro...
/keypress forward
/keypress back
/quit
/endmacro
}
/return
 
Slaymore: Check a few things, maybe see if they work, in game. With GOM up, and down. Try some of these:

/echo ${Me.GoM}
/echo ${Me.AuraInfo[0]}
/echo ${Me.AuraInfo[0].ID}
/echo ${Me.AuraInfo[1]}
/echo ${Me.AuraInfo[1].ID}

htw
 
Ah thanks I was gonna ask if there was some way to check what was being returned .

I will have to wait now till the test version is patched. Test patched last night so its old school boxing for now lol.
 
I was able to test this out

Running /echo ${Me.GoM}
without GoM active [MQ2]0
with GoM active [MQ2]80

so that is good ... but why isnt it pressing key 6?

I changed it to

Sub GOM
/if (${Me.GoM}) /casting "11825" gem9 -maxtries|3
/return

and that is working perfect .. why doesnt it send the key press though?

its not a big deal now that it is working but I would prefer the key press action over the casting command. I like to edit my hotkeys in game over the script.. yes im weird. lol
 
Just to verify, you do mean to push button 6 on hotkey bar 1? Because it sounds like maybe you arent trying to use hotkey bar 1 if that is the case.
 
yes, just like I was to press the number 6 on my keyboard.

This will be silly to the pro's but the script I am working on is based off hotkeys, that way all I have to do is change the hotkeys for each class and not the script. That's how my brain works though. It makes more sense to me to change a hot key using the eqbc system then it does the mac script and editing ini's.

This script is just the very start of what i hope to be a very simple yet complete system that will work for any class based simple on hotkeys and alt activation