Skip to content
MSN

Spec Kicker

A TG007 community discussion started by JeremyStCyr.

Discussion 14 posts
Page 1 of 1
Open
Topic #583 · 14 published posts · 1,339 views

does anyone know how to get the speckicker to deny $nick instead of denying $address ?

 

#spec on
on *:JOIN:#: {
 if ($me ison $chan) {
   %sn.nick = $nick
   %sn.chan = $chan
   if ($nick ison $chan) { /ctcp $nick PING }
   .timer.undo 1 3 unset %sn.*
 }
}
raw 908:*:{
 if ($me ison %sn.chan) {
   raw access %sn.chan add deny *! [ $+ [ $ial(%sn.nick $+ *,1).addr 3 :Spec Nick ] ]
   raw kick %sn.chan %sn.nick Go-Pay-MSN-Then-Come-Back:)
 }
}
#spec end

change

add deny *! [ $+ [ $ial(%sn.nick $+ *,1).addr :Spec Nick ] ]

to

add deny $ial(%sn.nick $+ *,1).nick $+ !*@* :Spec Nick

bfush.PNG

#spec on

on *:JOIN:#: {

if ($me ison $chan) {

%sn.nick = $nick

%sn.chan = $chan

if ($nick ison $chan) { /ctcp $nick PING }

.timer.undo 1 3 unset %sn.*

}

}

raw 908:*:{

if ($me ison %sn.chan) {

raw access %sn.chan add deny %sn.nick $+ !*@*$* 3 :Spec Nick ] ]

raw kick %sn.chan %sn.nick Go-Pay-MSN-Then-Come-Back:)

}

}

#spec end

 

My code does NOT have bugs. It just develops random features.

#spec on

on *:JOIN:#: {

if ($me ison $chan) {

%sn.nick = $nick

%sn.chan = $chan

if ($nick ison $chan) { /ctcp $nick PING }

.timer.undo 1 3 unset %sn.*

}

}

raw 908:*:{

if ($me ison %sn.chan) {

raw access %sn.chan add deny %sn.nick $+ !*@*$* 3 :Spec Nick ] ]

raw kick %sn.chan %sn.nick Go-Pay-MSN-Then-Come-Back:)

}

}

#spec end

%sn.nick $+ !*@*$*

 

can simply be put as

 

%sn.nick

huh.gif i think u not add this kick cause this also kick scritp laugh.gif so this will make u troble sad.gif

thanks yall and i was close to getting it to lol i was pulling the .addr out and adding .nick *!*@

gate you have to be carefull when adding bans , cause sometimes if you dont add the full ban it will add it as *!*@*$*

which would ban everyone , hence the reason for adding it as

%sn.nick $+ !*@*$*

My code does NOT have bugs. It just develops random features.

hey ozzy sometimes even if to many join after each other the speckicker will add deny *!*@ what do you suppose causes that?

its when fast for mirc doesnt get the nick correctly

My code does NOT have bugs. It just develops random features.

i haven't noticed that problem at all yet ozzy, but i'll take your word for it.

new question same topic lol

 

#spec3 on
on *:JOIN:#: {
 if ($me ison $chan) {
   %sn.nick = $nick
   %sn.chan = $chan
   if ($nick ison $chan) { /ctcp $nick PING }
   .timer.undo 1 3 unset %sn.*
 }
}
raw 908:*:{
 if ($me ison %sn.chan) {
 raw access %sn.chan add deny %sn.nick $+ !*@*$* 3 :Spec Nick | /auser speclist $address($nick,6) }
 raw kick %sn.chan %sn.nick Go-Pay-MSN-Then-Come-Back:)
}
}
#spec3 end

#spec3 on
on speclist:JOIN:#:{  /access $chan add deny $address($nick,6) 25 :spec nick $replace($nick,>,Guest_) placed by $replace($me,>,Guest_) at $time , $date | /kick # $nick $read text\specnick.txt  }
#spec3 end

 

why wont this work im trying to get my speckicker to add /auser speclist $address($nick,6)

 

and do you do the same for when you deny $address then add to speclist?

#spec3 on
on *:JOIN:#: {
 if ($me ison $chan) {
   %sn.nick = $nick
   %sn.chan = $chan
   if ($nick ison $chan) { /ctcp $nick PING }
   .timer.undo 1 3 unset %sn.*
 }
}
raw 908:*:{
 if ($me ison %sn.chan) {
   /auser speclist $address(%sn.nick,6)
   /access %sn.chan add deny %sn.nick $+ !*@*$* 3 :Spec Nick 
   /kick %sn.chan %sn.nick Go-Pay-MSN-Then-Come-Back:)
 }
}
#spec3 end

#spec32 on
on speclist:JOIN:#:{ /access $chan add deny $address($nick,6) 25 :spec nick $replace($nick,>,Guest_) placed by $replace($me,>,Guest_) at $time , $date | /kick # $nick $read text\specnick.txt }
#spec32 end

 

you just had the coding alittle messed up, because you have already set the nick in a variable, you need to use the variable in place of $nick, if you look in your code, you had $nick, i just changed it around. btw, you don't need to use raw infront of /access and /kick its just a waste of time.

thanks man and the same thing works for the $address banlist?

i dont recommend listing specs, as they might upgrade the account to paid account, so they will still be listed and get banned

on me:*:join:#:hop #