mIRC Home    About    Download    Register    News    Help

Print Thread
#154851 01/08/06 01:46 PM
Joined: Jul 2005
Posts: 18
A
Alex1 Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Jul 2005
Posts: 18
Hello,

I used to be able to use a mute script years ago when I was a ircOp on a bigger place. I now find it impossible to use, but I can't find what who possible could be wrong in it.
I'm using UnrealIRCd 3.2.5.

.Mute $snicks: {
/onotice # 12(4Op Notice12) 13 Has Muted 4 $snicks- 13 on #
/mode $snicks +z
}

.UnMute $snicks: {
/onotice # 12(4Op Notice12) 13 Is Un-Muting 4 $snicks- 13 on #
/mode $snicks -z
}

Now to mention...this script was used on IRCx, but what I wonder about is if it is possible to modify this so it will be possible to use it on UnrealIRCd. All my other Operscripts work without any problems even if they also were used on IRCx.

Thansk in advance.

#154852 01/08/06 02:52 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Try this:

Code:
.Mute $snicks: {
  tokenize 44 $snicks
  onotice # 12(4Op Notice12) 13 Has Muted 4 $snicks- 13 o n #
  mode $* +z
}

.UnMute $snicks: {
  tokenize 44 $snicks
  onotice # 12(4Op Notice12) 13 Is Un-Muting 4 $snicks- 13 on #
  mode $* -z
}

#154853 02/08/06 10:18 PM
Joined: Jul 2005
Posts: 18
A
Alex1 Offline OP
Pikka bird
OP Offline
Pikka bird
A
Joined: Jul 2005
Posts: 18
Tried your script on my own server and I did not get any err. messages, but I guess it wont work when trying with another nick from the same Host, where I'm also connected on as Net-Admin?


Link Copied to Clipboard