Jethro commented on a Page, AutoOpScript  -  Nov 20, 2009

I don't get why you needed to make a variable for %var when you could simply do:

#AutoOpScript on
on @*:join:#:{
  if $readini(AutoOpScript.ini,$chan,active) = yes { mode $chan +o $nick }
}
#AutoOpScript end

You should check if you're opped in channel by adding a @ prefix to your join event. Your else is redundant and can be omitted.

 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.