New relase

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

|| Napolion ||
a ghoul
a ghoul
Posts: 96
Joined: Sat Dec 28, 2002 7:45 am

New relase

Post by || Napolion || » Sun Nov 28, 2004 6:46 am

I just did a check on the new relace from http://www.macroquest2.com/phpBB2/viewt ... 5390#75390

I found out the if you have a echo like

Code: Select all

#event SelfEcho "[MQ2] #1#"

sub Main()
/return

Sub Event_SelfEcho(string Line,string Command)
  /if (${String[${Command}].Equal[somthing]}) {
    /Echo Will never happen
  }
/return
and you do a "/echo something" from inside EQ then the if will never happen. The variabel ${Command} don't have anything in it.

As I am not a 100% C programmer then I haven't looked up the source code.
|| Napolion ||

daerck
a ghoul
a ghoul
Posts: 134
Joined: Mon Jan 12, 2004 8:44 pm

Post by daerck » Sun Nov 28, 2004 1:53 pm

If you remove the typo and add a loop with /doevents in your Sub Main it will.

|| Napolion ||
a ghoul
a ghoul
Posts: 96
Joined: Sat Dec 28, 2002 7:45 am

Post by || Napolion || » Sun Nov 28, 2004 2:12 pm

It was just a exampel. I do have a loot in my main but did not add it here. :smile: Sorry
|| Napolion ||