Jethro commented on a Page, Op, Half-Op and Voice  -  Feb 19, 2011

maotulua wrote:> I want to say Hi to ops only upon myself entering a chat room, how would i accomplish this within a script ?

on me:*:join:#:{
  .timerhi 1 3 greetings #
}
alias -l greetings {
  var %h, %g 1
  while $nick($1,%g,a,rv) {
    %h = %h $v1
    msg $1 Hello to %h
    inc %g
  }
}

There will be a 3-second delay when you join a channel before the code gets triggered. This is to wait til the ial is filled.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.