Jethro commented on a Page, ./join  -  Jun 02, 2010

You could have combined the quit, join, cycle, and identify part of your code into one snippet, using one text event. I have no idea why you posted them separately:

on $*:text:/^.\/(join\s\43\S+|quit|cycle|identify)\z/iS:#:{
  if !%f {
    inc -u4 %f
    if $istok(*!*@YourHost *!*@Optional,$wildsite,32) {
      goto $regml(1)
      :join
      join $2- 
      halt
      :quit
      quit
      halt
      :cycle
      hop -c #
      halt
      :identify
      nick $mnick
      msg nickserv ghost $mnick pass
      halt
    }
    else { 
      msg # Sorry $nick $+ , you do not have permission to use $+(./,$regml(1)) $+ .
    }
  }
}

You can use mirc's /hop -c # in place of /cycle. I'm a little unsure as to why you use the ghost command in this case...

You should use the host for certain people to use the code. Using $nick is not safe because people can clone easily.

 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.