Skip to content
MSN

Setting Protection To Different Rooms Same Script

A TG007 community discussion started by Nightmare.

Discussion 7 posts
Page 1 of 1
Open
Topic #4135 · 7 published posts · 876 views

Possible, like i want one protection to work on one room but i want it off on a different room, but i want to be connection to all my channels on the same script on MSNConnector some know the answer here?

just add a line in

 

if ($chan == %#blah) {

Spam Honeypot - http://www.haggistech.co.uk/honey(humans do not register)

Thank you Haggis and this goes where at?

well say u wanna kick anyone who kicks someone else

 

only in the room called blah

 

u would have

 

on *:KICK:*: {

if ($chan == %#blah) {

kick $chan $nick no kicking please

}

}

Spam Honeypot - http://www.haggistech.co.uk/honey(humans do not register)

Thats a pretty obsolete way of doing it. Personally it's better this way:

 

 

This is an example and can be edited if you use #groups..

 

.$iif(%kickprot [ $+ [ # ] ] = on,$style(1)) $+ Kick Protection

..$iif(%kickprot [ $+ [ # ] ] = on,$style(3)) $+ On : set %kickprot [ $+ [ # ] ] on

..$iif(%kickprot [ $+ [ # ] ] != on,$style(3)) $+ Off : set %kickprot [ $+ [ # ] ] off

 

on *:KICK:*: {

if (%kickprot [ $+ [ $chan ] ] = on) {

kick $chan $nick no kicking please

}

}

 

;; the popups can be used to set the kick prot on/off for specific rooms.

"Be more concerned with your character than your reputation

because your character is who you really are while your reputation is merely what others think of you."

 

DesolateMx 8.0

Alternatively:

on *:kick:%kickchans:{ msg $chan $knick was kicked... }

Set (for example) %kickchans in the form %#channel1,%#channel2,%#channel3 etc

 

Lots of differnt ways of doing it I guess

"Be more concerned with your character than your reputation

because your character is who you really are while your reputation is merely what others think of you."

 

DesolateMx 8.0