OP Notice

By Jonesy44 on Feb 03, 2008

This alias can be used to notice all the OPs (@, +o) in a channel by notice, good for if you're running a channel with staff in

Copy and paste this snippet into your remotes (ALT + R)
To use:

/onotice {message}

Replace {Message} with your message and remove the { and }

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Scripted by TH a.k.a jonesy44 ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

alias onotice {
  set %c $nick($chan,0)
  set %i 1
  while (%i <= %c) {
    if ($nick($chan,%i) isop $chan) {
      notice $nick($chan,%i) [@] $1-
      inc %i 1
    }
    else {
      inc %i 1
    }
  }
}

Comments

Sign in to comment.
napalm`   -  Sep 22, 2008
alias onotice {
  var %x 1 , %m $iif($1-,$v1,$$?"Message?")
  while ($nick($active,%x,o)) { notice $ifmatch [@] %m | inc %x }
}
 Respond  
napa182   -  Sep 22, 2008

hmm you know they are +o when they join when the services +o's them and also by the @ infront of their nick so i dont see why you would want to have a code that tells you they are +o on join when you can see for ur self by looking in the chan

 Respond  
Cheiron   -  Sep 22, 2008
 if (( $nick == blah ) || ( $nick == blah2 ) ) { msg $chan $nick has joined channel }

but that is only a partial. you need the else { halt } event in there. or simply do a

 on @:JOIN:#: { if ($nick isop 

type of thing.. tis too late at night for bending grey matter. will have better look in morrow unless one of the others gets there first

 Respond  
yonetmen   -  Sep 22, 2008

Cheiron, I tried as you said but noting happend. Any suggestion?

 Respond  
Cheiron   -  Sep 10, 2008

that is a simple on join event with the inclusion of

if (( $nick == blah ) || ( $nick == blah2 ) ) { msg $chan username has joined channel }

basically. that is just a 2 nick example

 Respond  
AdamRock   -  Sep 10, 2008

can you make a code that when an op (mod) joins it says "a mod, has joined" ??????

 Respond  
AHBARAR   -  Jul 24, 2008

Why Dont U Make It Bigger like :
alias onotice {
var %c $nick($chan,0), %i = 1
while (%i <= %c) {
if ($nick($chan,%i) isop $chan) .notice $nick($chan,%i) [@] $1-
inc %i
}
}
alias hnotice {
var %c $nick($chan,0), %i = 1
while (%i <= %c) {
if ($nick($chan,%i) ishop $chan) .notice $nick($chan,%i) [@] $1-
inc %i
}
}
alias vnotice {
var %c $nick($chan,0), %i = 1
while (%i <= %c) {
if ($nick($chan,%i) isvo $chan) .notice $nick($chan,%i) [@] $1-
inc %i
}
}
menu nicklist {
Op Message:/onotice # $$?=\"Enter msg\"
HalfOp Message:/hnotice # $$?=\"Enter Msg\"
Voiced Message:/vnotice # $$?=\"Enter Msg\"
}

 Respond  
napa182   -  Jul 24, 2008

so you are going to say /onotice {message} is not ez enough
hmm

 Respond  
EcKstasy   -  Jul 24, 2008

why would you want to notice everyone if you are only going to notice op\'s sorry but ur comment fails =/
thats just fail,I guess you didn\'t see

then ctrl + c on the nicklist,wouldnt that be easier?
unless you didn\'t know you can highlight certain nicks by hitting ctrl and left clicking on the nicks then message the ones highlighted with that script?,if not thats noobish.

lol?,well time to give \"unsuitable\" comments back as you do it all the time to me
umm....What a useless script -.-

hmm what a petty and lame thing to say.
and as for ur code
hows that petty & lame?,You should see the comments he posts to every user on this damn site,so he deserves a taste back,Peace

 Respond  
napa182   -  Jul 23, 2008

EcKstasy said:

lol?,well time to give \"unsuitable\" comments back as you do it all the time to me
umm....What a useless script -.-

hmm what a petty and lame thing to say.
and as for ur code

menu nicklist {
 -
 Mass Message:/msg $$* $$?=\"Enter msg\"

why would you want to notice everyone if you are only going to notice op\'s sorry but ur comment fails
=/

 Respond  
EcKstasy   -  Jul 23, 2008
menu nicklist {
 -
 Mass Message:/msg $$* $$?=\"Enter msg\"

then ctrl + c on the nicklist,wouldnt that be easier?

 Respond  
Jonesy44   -  Jul 23, 2008

I was simply remarking that i do not like comic sans.

Thanks for the feedback; this was infact one of my first ever scripts so i was pretty pleased with it at the time.

As it goes, ExKstasy, this is a usefull script if you have channel staff, and want to message them all efficiently without having to message a whole channel, or double click on each name and type, or paste.

 Respond  
EcKstasy   -  Jul 23, 2008

Dude, I dont even need to try that out to tell it work\'s, its one of the script\'s I accualy can read! <3. It\'s pretty good, altho on the server\'s I use you don do /notice
reg(nothing added)/voice(+ insted of voice)/halfop(%)/op(@)$chan.
It\'s neet tho ^^
Gave it an 8
lol?,well time to give \"unsuitable\" comments back as you do it all the time to me
umm....What a useless script -.-

 Respond  
Mudkipz   -  Jul 23, 2008

Dude, I dont even need to try that out to tell it work\'s, its one of the script\'s I accualy can read! <3. It\'s pretty good, altho on the server\'s I use you don do /notice
reg(nothing added)/voice(+ insted of voice)/halfop(%)/op(@)$chan.
It\'s neet tho ^^
Gave it an 8

 Respond  
Jonesy44   -  Feb 03, 2008

hehe, cheers for the feedback.
Like i said on my other post, im just playing around with hawkee atm, and seems to be working well.

@ LucSatise lmao, i had no idea there was such a think already in mIRC xD .. one point to say hawkee works well with plenty of people posting =)

I\'ll get round to putting up some more interesting codes sometime =P

 Respond  
Cheiron   -  Feb 03, 2008

duh... stoopid lol.. i just had to ask didnt i! boy do i feel daft

cheers LucSatise

 Respond  
LucSatise   -  Feb 03, 2008

or you can simply type /onotice which does exactly the same thing.. one question though which seems to be a bane of servers when it comes tothese things.. the Half-op.. they cannot receive onotices.

nice script though.. gets a nice 6 from me.. rated and clicked

Send a halfop Notice: /notice %#Chan

 Respond  
Cheiron   -  Feb 03, 2008

or you can simply type /onotice which does exactly the same thing.. one question though which seems to be a bane of servers when it comes tothese things.. the Half-op.. they cannot receive onotices.

nice script though.. gets a nice 6 from me.. rated and clicked

 Respond  
LucSatise   -  Feb 03, 2008

Just a note:

alias onotice {
  notice @ $+ $chan $1-
}

Shorter and works as well =]

 Respond  
Lindrian   -  Feb 03, 2008

Use /var instead of /set
/help /var

Also, change \"notice\" into \".notice\" (. = silent)
And the inc %i 1 can be made inc %i.

The code should look more like this:

alias onotice {
  var %c $nick($chan,0), %i = 1
  while (%i <= %c) {
    if ($nick($chan,%i) isop $chan) .notice $nick($chan,%i) [@] $1-
    inc %i
  }
}

Good work though!

 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.