Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Message Box.
#1
Now with using the Menu. Say I ran one function and I accidentily try to run another one a box will come up and say You are already running a function. And it will not run the second function can you help me with this? :?:
#2
Place this at the beginning of the function

Code:
Copy      Help
if(getopt(nthreads)>1) mes- "already running"

or in menu. Example:

Code:
Copy      Help
a :if(getopt(nthreads)>1) mes- "already running"; else mes 1
b :if(getopt(nthreads)>1) mes- "already running"; else mes 2

This works in functions and menus, but not in macros.
#3
So I make A function and put the first code in there and thats it? :?:


Forum Jump:


Users browsing this thread: 1 Guest(s)