Hi.
My question is: How do i restart my mainloop?
I need this for my script; when it finds out that the character is logged out, it will login the next character, but it needs to start at the begin of the mainloop.
I was thinking of making a procedure of the mainloop, and then restarting that procedure everytime its needed. But the problem for that is -> The procedure needs to be at the end of all procedures because it needs to know the other procedures.
But if its at the end of all procedures, then i can't put it in one of my procedures for checking if a player is logged out, because the mainloop-procedure is at the end of the script.. =/
I hope you understand my problem, and I hope even more that you find a solution
Thanks for your time!
EDIT: I released my script here!!





Reply With Quote


.






