Undocumented Command - Info needed

A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy

Moderator: MacroQuest Developers

User avatar
Fippy
a snow griffon
a snow griffon
Posts: 499
Joined: Tue Jul 16, 2002 10:42 am

Undocumented Command - Info needed

Post by Fippy » Fri Dec 06, 2002 6:40 am

Whilst looking through the MQ source here at work I noticed an undocumented command $char(speed).

From the looks of it it will return a decimal that has your speed. I am guessing this is not your actual speed your moving but the speed mode you are in run/walk.

Its posssible that this may be a different value depending on race/sow-jboots/runspeed etc.

Maybe we could post the class/race any speed enhancments your char has on and the value that $char(speed) returns on this thread and see if there is pattern.
Fippy

This is my girl. But Rizwank had her first :-)
[img]http://www.btinternet.com/~artanor/images/fairy_bounce09.gif[/img]

zedisdeadbaby
a ghoul
a ghoul
Posts: 83
Joined: Sun Nov 03, 2002 4:24 pm

Post by zedisdeadbaby » Fri Dec 06, 2002 11:57 am

50+ druid in wolf-from = speed of 1.08.

There's also a $target(speed). Most creatures are at 1.00 when they're pissed and running towards you. :D

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Fri Dec 06, 2002 1:48 pm

When stopped, it's 0, but I move backwards and walk forward at (-)0.46 and run forward at 0.70 unbuffed.

macrotoon
a ghoul
a ghoul
Posts: 106
Joined: Wed Sep 18, 2002 4:38 pm

Post by macrotoon » Thu Dec 12, 2002 5:01 pm

This command would be nice if doing a macro where you creat alot of silver and copper. and begenning to get encumbered!

Neat find flippy

Mutter
a ghoul
a ghoul
Posts: 105
Joined: Sat Nov 16, 2002 1:09 pm

Speed

Post by Mutter » Thu Dec 12, 2002 11:08 pm

This would be perfect for the hunting script. IE: If my speed > monster speed, then run like hell. Otherwise, log my /loc and prepare to die :shock: