Feat Req: $lastCommand

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

LordGiddion
a snow griffon
a snow griffon
Posts: 352
Joined: Sat Sep 13, 2003 6:12 pm
Contact:

Feat Req: $lastCommand

Post by LordGiddion » Fri Oct 31, 2003 2:52 pm

Can we get a variable returns the last /command that the script executed?
Right now in my script I'm getting "You can't use that command while casting" and I can't figure out what command is generating the error. I'd like to create an event that runs on that error and tells me what generated it.

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Post by wassup » Fri Oct 31, 2003 4:23 pm

Already exists:

$lastcommand
Returns the last command run