Page 1 of 1

wierd group / horse bug

Posted: Fri Jan 17, 2003 4:40 pm
by kazan

Code: Select all

Sub Main
        /echo $spawn($group(0),name)
/return
that *should* return MY name seeing as im the first person in the group, and when run outside of a macro, it does, but when inside a macro the echo is Kazan`s Mount00.

both $group(0) and $char(id) return my mounts id when run within a macro. not that big a deal, but i thought i would bring it to your guys' attention.

anyway, heres the spew

Macro - Loading macro: test.mac
Macro - Starting macro with '/call Main'
Call - Calling subroutine Main with params
DetermineWhoFirst: '/echo' will try EQ's commands first
$spawn(): id=912 (.....), rest=name) (len=5)
Echo - [MacroQuest] Kazan`s_Mount00
CChatHook::Detour([MacroQuest] Kazan`s_Mount00)
DetermineWhoFirst: '/return' will try EQ's commands first
Return - At top of stack, ending macro
CChatHook::Detour(Cleared the following: Timers Vars Arrays)
EndMacro - Ended
CChatHook::Detour(The current macro has ended.)
DetermineWhoFirst: '/spew' will try EQ's commands first

Re: wierd group / horse bug

Posted: Wed Jan 14, 2026 12:32 pm
by xyilla

Re: wierd group / horse bug

Posted: Wed Jan 14, 2026 12:33 pm
by xyilla

Re: wierd group / horse bug

Posted: Wed Jan 14, 2026 12:36 pm
by xyilla