mIRC Home    About    Download    Register    News    Help

Print Thread
#73264 01/03/04 06:38 AM
Joined: Mar 2004
Posts: 1
S
Sigmar Offline OP
Mostly harmless
OP Offline
Mostly harmless
S
Joined: Mar 2004
Posts: 1
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,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
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.


New username: hixxy
#73266 02/03/04 06:42 PM
Joined: Mar 2004
Posts: 7
B
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
B
Joined: Mar 2004
Posts: 7
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


Just Be Original !
#73267 02/03/04 06:53 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
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,


Mentality/Chris
#73268 03/03/04 03:59 AM
Joined: Mar 2004
Posts: 4
P
Self-satisified door
Offline
Self-satisified door
P
Joined: Mar 2004
Posts: 4
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