mIRC Homepage
Posted By: silimon Question about how scripts operate - 20/05/08 01:01 PM
Hello

I wanted to know if.. for instance you have an alias in a remote script.. and then an on event trigger in the same script, is it possible for the two parts of the script to execute at the same time? I ask because these two portions of my script manipulate the same data and there's potential for errors if that happens -- unless of course I know it works that way ahead of time, then I can make some changes to it. The event is a socket read, fyi, and when the script is finished i intend to have several socket connections at once.
Posted By: Lpfix5 Re: Question about how scripts operate - 20/05/08 02:42 PM
an alias event needs to be executed within a call or a mnually executed while an ON event section only executes if that event is called
Posted By: noMen Re: Question about how scripts operate - 20/05/08 03:37 PM
No it is not possible that the two parts will be executed at the same time, even if your event triggers the alias while you execute the alias manually. mIRC handles one thing at a time.
Posted By: silimon Re: Question about how scripts operate - 20/05/08 05:46 PM
That's a huge relief. thanks
© mIRC Discussion Forums