whats wrong with this - 22/01/03 08:57 PM
on *:text:!invite*:*:{
if ($nick == isop) { /chatbot invite Chan $2 | /notice $nick $2 Has Been Invited to $Chan | /halt }
}
}
this is a script for a bot that is in any rooms
and what its supposed to do is,
when an op in that room types !invite nick,
it invites them
it should only respond if that person is an op,
can someone tell me whats wrong with this?
thanks
if ($nick == isop) { /chatbot invite Chan $2 | /notice $nick $2 Has Been Invited to $Chan | /halt }
}
}
this is a script for a bot that is in any rooms
and what its supposed to do is,
when an op in that room types !invite nick,
it invites them
it should only respond if that person is an op,
can someone tell me whats wrong with this?
thanks