slub77, if you like to use pipes in your script to make a string of code to appear as a "one liner", you need to be aware of not making it too long, or else there may be a chance it gets cut off...when it's over the limit mirc allows. You can check out the use of line break identifier to remedy this matter.
This > var %a 1 | var %b can just be:
var %a 1, %b