Heres a simpler way to look at it. If you use mIRC script it should act/work/behave like mIRC script. Where the script was called is irrelevant. I also dont see anywhere in the help about how /scid and /scon work a certain way except when its called from a mapped file.

The idea behind the mapped file is fairly straight forward from its usage. No it doesnt state my words exactly but that is indeed what it does. If i tell mIRC to evaluate a line of script from the mapped file how could you not infer that that is indeed its job.

Bottom line is you have two scenarios of identical code $cid and /scid work one way when called from a script and totally different when evaluated from the mapped file. If you follow program flow the mapped file is no more than a sub routine.

/dll -> SendMessage -> script code

no different than an alias calling another alias etc.. There is no need to have two different scenarios with the multiserver script.


Have Fun smile