Something
public text v1 · immutableon *:text:!in &:#:{
if ($nick(#,$nick,oh)) {
if ($2 ison #) { msg # $2 is already in the channel ! }
elseif ($comchan($2,0)) {
invite $2 #
msg # now inviting $2 to # ...
}
else {
.enable #ison
set %temp #
ison $2
}
}
else { msg # you have no right to request invites! }
}
#ison off
raw 303:*:{
if ($2) {
invite $2 %temp
msg %temp now inviting $2 to %temp !
}
else { msg %temp the guy isnt online! }
unset %temp
halt
}
#ison end