Al-Forums.Com ™ - Discussions. Forum Virtual Shqiptar,

wWw.Al-Forums.Com ™ - Discussions. Forum Virtual Shqiptar, Vendi i duhur pėr tė gjithė shqiptarėt anembanė. Diskutime tė ndryshme rreth shoqerisė dhe tema tė tjera.
 
ChatForumCalendarPytėsoriKėrkoLista AnėtarėveGrupet e AnėtarėveRegjistrohuidentifikimiGallery mIRC ScriptsAlbania Chat MOTI  Filma ShqiptarTop Albania Radio

Chat Shqip - Bisedo Shqip - chat shqip , albania chat , chato ... | Albania Chat Mibbit - Webchat - Java IRC - Online Chatt

Share | 
 

 Ban user after X joins in Y seconds

Shko poshtė 
AutoriMesazh
YouGoDe
WebMaster
WebMaster
avatar

Numri i postimeve : 2345
Registration date : 06/08/2008
Age : 38
Location : YouGoDe.Org

MesazhTitulli: Ban user after X joins in Y seconds   19.05.11 19:26

Kodi:
; Join flood protect script by Phil
; Bans user after X joins in Y seconds

on *:JOIN:#channel: { ; Set channel name here
  ; First join we're recording
  if ($hget(joinfloodhash, $nick) == $null) {
    hadd -m joinfloodhash $nick 1
  }
  ; Already recorded
  else {
    hinc joinfloodhash $nick
  }

  ; Run timer to decrease value
  .timer 1 10 joinflooddec $nick ; Set Y here (currently 10)

  ; User has joined 3 times
  if ($hget(joinfloodhash, $nick) >= 3) { ; Set X here (currently 3)
    mode $chan +b $address($nick, 2)
  }
}

alias joinflooddec {
  hdec joinfloodhash $1

  ; If count is 0, delete the record
  if ($hget(joinfloodhash, $nick) <= 0) {
    hdel joinfloodhash $nick
  }
}







wWw.Al-Forums.Com ™ - Discussions. Forum Virtual Shqiptar,



Albanian CHAT, Kosova CHAT, Albania Chat, Dashuria CHAT, Free CHAT, Adult CHAT Room, Shqiperia Chat, Albanian Chat Rooms, Tirana CHAT, Albanian Singles, Adult Chat Room, Muzik SHQIP, Mp3 Shqip, Albanian Music, Filma Shqip, Humor Shqip, Chat Shqip, Horoskopi Shqip, Lajme Shqip,
Mbrapsht nė krye Shko poshtė
Shiko profilin e anėtarit http://wWw.yougode.Org
 
Ban user after X joins in Y seconds
Mbrapsht nė krye 
Faqja 1 e 1

Drejtat e ktij Forumit:Ju nuk mund ti pėrgjigjeni temave tė kėtij forumi
Al-Forums.Com ™ - Discussions. Forum Virtual Shqiptar, :: Irc.AlbaniaFace.Com :: IRC Commands Komndat-
Kėrce tek:  


Copyright Al-Forums.Com ™ © 2011 |yougodec.com
Free forum | © phpBB | Forum mbėshtetės | Kontakto | Report an abuse | Sosblog