Tip for the future, Siopses: when looking for help in the forums, always give some details along with a problem instead of just saying it isn't working. Does the program run, or do you get a runtime error message (REM)? If you get a REM, what does it say?
In your GUI_Juggler(CURRENT_EVENT) function, the (CURRENT_EVENT) variable isn't necessary in your function declaration. In other words, you don't need GUI_Juggler(CURRENT_EVENT), just GUI_Juggler(). Then in your ReturnName(Name) function, you have the code:
BTW, glad I could help on your code problem.
In your GUI_Juggler(CURRENT_EVENT) function, the (CURRENT_EVENT) variable isn't necessary in your function declaration. In other words, you don't need GUI_Juggler(CURRENT_EVENT), just GUI_Juggler(). Then in your ReturnName(Name) function, you have the code:
While Not GUI_Juggler($803)The $803 in the parentheses is needless. See, when you call GUI_Juggler(CURRENT_EVENT) like that, you pass the event $803 to the CURRENT_EVENT variable, but then, in the first line of code in GUI_Juggler(), you have the code:
CURRENT_EVENT = WaitEvent()which renders the $803 obsolete. All you need is to have the function GUI_Juggler() with nothing in the parentheses, and the same thing in yuor ReturnName(Name) loop. Does that make any sense?
BTW, glad I could help on your code problem.