what are the fastest remote?
if n $iif, which one is faster?
how to kick faster?
These issues are all about speed. To my experience, if your PC has a fast processor, 1GHz or better, it doesn't matter which technique you use. You can gain some nanoseconds one way or the other, but you won't notice. The biggest delay is caused by the chatserver. Your bot can respond immediately, but it can take some (milli)seconds before its line or command actually arrives. Btw, if you would have a 10MHz processor, you WILL notice difference in techniques, because all time differences will add up.
put all remote in on text event together or separetely?
I suggest you make 1 script per function, i.e. a game-script, a protection-script, a bar-script. Per script you can use one or more text events, depending on the functionality you need. Normally one text event section will be enough. Again, don't bother about speed. I have a bot that operates in 5 chatrooms and consists of 40 quite complex scripts. I tried to code it as clean as possible, to make debugging easier. But whatever happens in which room, the bot always reacts within a split second, which is fine for me
. My PC has a 1GHz processor.
dll, hash table, variable, which one is the best for store data?
I love working with ini files and writeini and $readini commands. And since ini files are handled in memory, speed is not an issue.
You need aliases if you re-use the same code several times. You get very clean code if you use aliases in the right way.
whats a smart way to make protection remote?
Your will never finish working on your protection. I thought my bot contained every possible defense until last weekend when some rooms at our server were taken over. Fortunately my bot was not attacked, but after investigation I noticed that it was vulnarable too. Tip: if you use somebody else's script, always scan for $read and $readini commands and check whether they contain the n parameter. If not, add it! Another tip: there is much to tell about protection. First try google, search for tutorials and examples. Some months ago Dalnet had quite good examples, but I can't find it anymore.
how to kick faster?
use signal -n name kick $chan $nick reason? arghh
Just /kick I would say. Why would you signal an event? That's for too complex for a kick application. Maybe raw commands are faster, but again try to keep your code clean and understandable. Your script will never be finished, so after a few months you still have to understand what your code is doing. Keep it simple!