Op on join basically its like voice on join

By Chase on May 12, 2007

just load in emotes and let someone enter channel it ops them have fun :)

on @*:JOIN:#: {
  if ($nick == $me) && ($nick isop $chan) { halt }
  mode $chan +o $nick


Sign in to comment.
guest598594   -  Dec 15, 2007

|MELIORITE| $nick might not be $me, but you still need op to op the other people

|MELIORITE|   -  May 17, 2007

Yes Solo... you\'re right... I was referring to where the $nick is given to == $me... I was saying the same thin you are but in another way... there is no need for both the @ and the (if $nick == $me)

Solo   -  May 15, 2007

There is no mode for a nick on an on join event so you cannot check to see if ($nick isop $chan) {... as noone is opped on join. the code below would be just as effective and its better written,

on !@*:join:#: mode $chan +o $nick

the ! eliminates the need for a (if ($nick == $me) check

Meliorite the @ symbol is to check that YOU are opped NOT the $nick

|MELIORITE|   -  May 15, 2007

I don\'t see the sense in writing:

on @*:JOIN:#: {
  if ($nick == $me) && ($nick isop $chan) { halt }

since the @ symbol already designated that if $nick is an op then proceed otherwise it does not work so the part \"&& ($nick isop $chan)\" is redundant.

While the script might be useful in chatspace where takeovers are difficult, remember that people accessing this script are vulnerable to takeover in other places and a warning should be given.

Bouncer, while you may not be concerned about your scripts being ripped, it is a general practice that should not be done at all or at least with acknowledgement...

Bouncer   -  May 12, 2007

This is for a chatspace server because I go to the same chat as Chase, and it is alot harder to take over a channel with temp op on chatspace than it is on IRC. sure it can be done but the channel couldn;t be held for long. Though the funny thing is I wrote him a code just like that for autovoice... pretty easy to change +v to +o. I am not worried about it though. Very simple script that most anyone could code. Seems pretty pointless.

Shadow Clash   -  May 12, 2007

Its bad to make auto op.. and also might take over the chan o_o

xDaeMoN   -  May 12, 2007

I wouldn\'t advise giving full ops to everyone since this can be abused and take over the channel.

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.