

/ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private./target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs./lua run
|** Checks the SpelltoCheck to be in GemToUse and returns complete if it gets memorized or it's already in the gem slot specified. **|
Sub CheckSpell(string SpelltoCheck, int GemToUse)
/if (${Me.Book[${SpelltoCheck}]} && ${Me.Gem[${GemToUse}].Name.NotEqual[${SpelltoCheck}]} || !${Me.Gem[${GemToUse}].ID}) {
/memorize "${SpelltoCheck}" ${GemToUse}
/delay 10s ${Me.Gem[${GemToUse}].Name.Equal[${SpelltoCheck}]}
/return Complete
} else /if (${Me.Gem[${SpelltoCheck}]}) {
/return Complete
}
/return Incomplete
/if (${Stick.Active}) {
/declare sticktrg ${Stick.StickTargetName}
/stick end
/delay 2s !${Me.Moving}
/memorize "${SpelltoCheck}" ${GemToUse}
/delay 10s ${Me.Gem[${GemToUse}].Name.Equal[${SpelltoCheck}]}
/target ${sticktrg}
/stick stickhowparams
}
should beto cast an itemRich (BB code):/casting "itemofuberness"|item
andto use a alt abilityRich (BB code):/casting "altabilityofrawpower"|alt
@ctaylor22
Rich (BB code):/if (${Stick.Active}) { /declare sticktrg ${Stick.StickTargetName} /stick end /delay 2s !${Me.Moving} /memorize "${SpelltoCheck}" ${GemToUse} /delay 10s ${Me.Gem[${GemToUse}].Name.Equal[${SpelltoCheck}]} /target ${sticktrg} /stick stickhowparams }
I just used it on an item. Worked fine. Perhaps a silly question, but sometimes needed. Are you sure you have mq2cast loaded? /plugin list