on 1:input:#:if $regex($1,^!invite$) { var %s = 1 | while $nick($chan,%s,oh&~) { invite $v1 #01 | inc %s } | halt }