Page 1 of 1

New relase

Posted: Sun Nov 28, 2004 6:46 am
by || Napolion ||
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.

Posted: Sun Nov 28, 2004 1:53 pm
by daerck
If you remove the typo and add a loop with /doevents in your Sub Main it will.

Posted: Sun Nov 28, 2004 2:12 pm
by || Napolion ||
It was just a exampel. I do have a loot in my main but did not add it here. :smile: Sorry