What the is this? :(
How is this useful? :P - I'd say GJ if it was your first time at mIRC.
And maybe next time swap the "set" command for the "var" command?
var %mort = $rand(1,6) if (%mort == 1) { .msg $chan ... }