Skip to content
Buzzen Chat Network

Script Kicker

A TG007 community discussion started by ameer.

Discussion 21 posts
Page 1 of 2
Open
Topic #11212 · 21 published posts · 4,394 views

hello i just need a script kicker to add to my script

Thank you

*Deleted by me*

Edited Sep 22, 2008 9:29 AM by Silo

that code would kick anyone that joined...

lol yeah, thus why I deleted it. I wrote it at work & thought better of it :P

its work but it kicked all ppl scripts and not scripts

Well then, in that case it didnt work lol Sorry Ameer. Let me get someting that works for you :)

ok dear dont worry thank you away also the gatekeer

Again, very basic but feel free to edit it as you wish :)

#scriptkick on
On ^*:JOIN:*:{
  if ($nick == $me) halt
  else .CTCP $nick version
}
On *:CTCPREPLY:*version*: {
  if ($1- != $null) {
    echo $active 4[Warning] $nick is using a script...
    kick $active $nick No scripts allowed, $nick $+ !
    access add deny $address($nick,2) 24
  }
}
#scriptkick end
menu channel {
  Script kick
  ..$iif($group(#scriptkick) == on,$style(1),$style(0)) On: .enable #scriptkick | echo $color(KICK) $active Script kick enabled.
  ..$iif($group(#scriptkick) == off,$style(1),$style(0)) Off: .disable #scriptkick | echo $color(KICK) $active Script kick disabled.
}

 

I can't remember how to ban using access but I think 24 = 24 hours or maybe 0 (Zero) = infinite.

 

Hope this helps :)

thank you agian seli but didnt work yet

How odd, it worked or me whenI tested it on my end. Though I didn't use add deny I used ban -u120 to ban. Is anything happening?

Edited Sep 22, 2008 11:49 AM by Silo

i delete the add deny from it but still not work

its like nothing in it

 

Hmmm, sorry about that. It is very basic, but I tried it on koach.com with a script and it kicked it from the room. I joined with the same nick via webchat and got in fine :)

 

I hope someone else can help you out :)

 

*EDIT* I've never chatted on Buzzen efore so I'm unsure how the server handles CTCP requests. Travis is quite the authority on all things Buzzen, I believe :)

Edited Sep 22, 2008 12:01 PM by Silo

thank you so much silo :)

i still dont understand why you would wana k/b a script :/

cause i dont like scripts in my room

and other owners on my team cant join them scripts

 

hello i just need a script kicker to add to my script

Thank you

 

hello agin guys

plz i need the script kicker silo give me one but its not work

so plz help me abt it

Edited Sep 22, 2008 8:28 PM by X-Fusion

Im no expert. I wrote a script kicker. It's available with the connection I made for Buzzen. SoulFly, check it out.

 

There are no ctcp's on buzzen.

Old msn script kicker so if your using a msn clone then this should work

 

menu channel {

  -
  .Kicker ( $+ %kicker $+ )
  ..On:{ .enable #kicker | set %kicker On | echo $active 8,4-=[ kicker On ]=- }
  ..Off:{ .disable #kicker  | set %kicker Off | echo $active 8,4-=[ kicker Off ]=- }
}





#kicker Off
on *:JOIN:*: { 
  if ($nick != $me) && ($$ial($nick $+ *,1).addr != $read(allowed.txt, w,* $+ $$ial($nick $+ *,1).addr $+ * )) { 
    ctcp $nick VERSION
    ctcpreply $nick ”DTäE
    ctcp $nick FINGER
  }
}

on *:ctcpreply:*FINGER*: {
  if ($1- != $null) {
    if ($nick ison $comchan($nick,1)) { access $comchan($nick,1) add DENY *! $+ $$ial($nick $+ *,1).addr 300 :Script Ban | kick $comchan($nick,1) $nick No Scripts in here }
  }
}
on *:ctcpreply:*VERSION*:{
  if ($1- != $null) {
    if ($nick ison $comchan($nick,1)) { access $comchan($nick,1) add DENY *! $+ $$ial($nick $+ *,1).addr 300 :Script Ban | kick $comchan($nick,1) $nick No Scripts in here }
  }
}
on *:ctcpreply:*”DTäE*:{
  if ($1- != $null) {
    if ($nick ison $comchan($nick,1)) { access $comchan($nick,1) add DENY *! $+ $$ial($nick $+ *,1).addr 300 :Script Ban | kick $comchan($nick,1) $nick No Scripts in here }
  }
}

Buzzen isn't a MSN clone anymore. Even if it was, CTCP replys are disabled, so, that wouldn't work correctly.

didnt work yet like notthing in script nightrider

ameer there is no way to keep scripts out

if they want to get in they will and there is no way to detect them 100%

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