General area when it fits no where else

Moderator: Mmiscool

User avatar
By Mmiscool
#52960 It should function with both at the same time.

Just make sure that the branches for the msg branch and the timer branch both end with a wait command so that it can catch.
User avatar
By Mihail
#53119 I dont know, when i put the time function on top of source and I RUN , the function start to execute but only timer function.
Code: Select alltimer 2000, [do.some.stuff]
wait
[do.some.stuff]
print "test"
wait
msgbranch [mybranch]
wait
       [mybranch]
.
.
.
msgreturn MyReturnMsg
   wait

When i change timer function on bottom then [mybranch] function work but timer not work!
Code: Select allmsgbranch [mybranch]
wait
       [mybranch]
.
.
.
msgreturn MyReturnMsg
   wait

timer 2000, [do.some.stuff]
wait
[do.some.stuff]
print "test"
wait
User avatar
By Mmiscool
#53985
Code: Select alltimer 5000, [do.some.stuff]
msgbranch [mybranch]
wait

[mybranch]
myColorVar = msgget("color")
print myColorVar
let myReturnMsg = "You Entered " & myColorVar
msgreturn myReturnMsg
wait


[do.some.stuff]
print "Doing Some Stuff"
wait