Open realJoshByrnes opened 2 years ago
I don't think many Web API objects should be included as part of this project, however there are a few such as timers that would be globally useful. Interaction with AdiIRC where possible rather than using a C# implementation would be preferable.
We have full access to the Javascript API, but there are objects in the Web API that could be useful.
eg. Timers
Here's a very rough implementation of setTimeout and clearTimeout using AdiIRC's timers. Unfortunately, as /timer evaluates the text, we would never get the original back. It's possible to counteract this by encapsulating text.
eg. Instead of "Hi", we could send "$+($chr(72),$chr(105))" to mIRC to have the data not messed up. AFAIK AdiIRC does not have line limits as mIRC does (need to check).