mIRC Remote scripting help reddit / irc ---------------------------------------------------------------------- PsycheDox · 2014-10-05 00:24 Hi all, I'm writing a script for mIRC that lets me use some server specific formatting (the server in question uses some special codes submitted in text to make things work/use a wider range of colours than standard IRC allows) and I need a little help. So far, I've managed to get everything working in channels and PMs, but right now I'm having to limit it to happen in only certain channels, since I'm on multiple servers in my client. It still happens in ALL PMs, regardless of whether it's on that server or not. Is there a way to limit those blocks of the code to run only when connected to a specific server so PMs on other servers don't get odd code and I can get rid of the channel checking? Thanks! ---------------------------------------------------------------------- roaawr · 2014-10-05 12:25 Try $server and $network -> if ($network == ) { ;dostuff } if ($server == ) { ;dostuff } ---------------------------------------------------------------------- PsycheDox · 2014-10-05 14:42 Thanks! I just tested this and it seems to work. You've been a big help!