


If you want to try it out with the /echo command: //set-var +(chan.topic) Hello World //echo get-var(+(chan.topic)) Trying such a task with /set generally results in: /set: invalid parameters Trying to retrieve it is a pain in the ass and requires 's. This 'wrapper' allows you to use $+() when setting variables allowing you to set variables that are completely dynamic and headache free. If the variable doesn't exist it simply forwards mIRC's null value. So I've written a simple 'wrapper' for mIRC Variables. Well for a project I'm working on I needed to do this, a lot. I'm posting this blindly without a care in the world if it already exists,Ĭreating bots that store dynamic data such as channel topics, parts of topics such as dividers and such are a pain in the backside when it comes to storing variables within mIRC.
