mIRC Home    About    Download    Register    News    Help

Print Thread
D
DaveHope
DaveHope
D
Sorry for being a nucense, How could I go about performing an action to all users in one class, Ops, or Voices for example? For example sending a message to only the Ops or Voices? Any info is greatley appreciated smile

D
DaveHope
DaveHope
D
okies, it struck me to look on the net for scripts which may already have such a function, i stumbbled across one, here's the code if anyone's interested.

/set %num $nick($chan,0,o)
:begin | if (%num == 0) { goto finish }
else { /set %nick $nick($chan,%num,o)

if (%nick == $me) { goto skip }
else {
/mode $chan -o+b %nick
/Kick $chan %nick
}
:skip
dec %num 1
goto begin
:finish
/unset %num
/unset %nick

T
theRat
theRat
T
that looks pretty much a part of takeover script

D
DaveHope
DaveHope
D
It was, like I said, I found the code, i figured a "takeover" script would use such a function, so I searched for one, found one, and took the required code for what I needed our of that smile

C
codemastr
codemastr
C
Well mIRC already has a /omsg command which sends to all ops on a channel, but also, many servers have "receiver prefixes", like

/msg @#somechan this only goes to ops!
/msg +#somechan this only goes to voices!
/msg @+#somechan this goes to ops and voices!

Not all networks support this however, so it is best to try and see.

D
DaveHope
DaveHope
D
DOH! - Thanks I didn't realise there was such a feature smile


Link Copied to Clipboard