mIRC Home    About    Download    Register    News    Help

Print Thread
#73264 01/03/04 06:38 AM
S
Sigmar
Sigmar
S
Hi
I'm in a bit of a jam, I need to set up a script so that someone(nonop) can type in !topic(followed by topic) and it'll change to that. However it has to only work for two people

A automatic kick for flooding or repeated frequent swearing script would be handy too!

Thank you so much!
ps
I'm not very good with scripts so please don't be too vague

Last edited by Sigmar; 01/03/04 06:44 AM.
#73265 01/03/04 10:35 AM
Joined: Nov 2003
Posts: 2,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
Code:
on @*:text:!topic *:#:{
if $left($nick(#,$nick).pnick,1) !isin % @ & ! . * ~ { topic # $2- }
}

used various prefixes i've come across, so that the code will only work for people who don't have enough priviledges to change the topic.

#73266 02/03/04 06:42 PM
B
bozghiyy
bozghiyy
B
Isn't easyer to set the chan -t ! (/mode #chan -t --> for op only)
And the users tha are "nonop" can change the topic in the normal way !

A kick script for flooding or repeated frequent swearing script
is Protection Pro 3.05 by Ringer DaMan (verry nice script)
and u can find it at :
http://www.mircscripts.com/addons/6.1/pp305.html

#73267 02/03/04 06:53 PM
Joined: Jun 2003
Posts: 4,670
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 4,670
Quote:
And the users tha are "nonop" can change the topic in the normal way !


The same goes for people who are not usually opped in the channel, and he wanted it to only apply to two users.

Regards,

#73268 03/03/04 03:59 AM
P
pengy
pengy
P
Hmm...

(add the 2 users you want to your userlist as level 2 or whatever)

on +2:text:!topic *:#:/topic # $1-

This would of course assume you were opped in the channel at the time your friends wanted to change the topic smile

pengy

Last edited by pengy; 03/03/04 04:08 AM.

Link Copied to Clipboard