Al-Forums.Com ™ - Discussions. Forum Virtual Shqiptar,
Would you like to react to this message? Create an account in a few clicks or log in to continue.
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.
 
ChatForumKėrkoLatest imagesRegjistrohuidentifikimiGallery 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

 

 Ban user after X joins in Y seconds

Shko poshtė 
AutoriMesazh
YouGoDe
WebMaster
WebMaster
YouGoDe


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

Ban user after X joins in Y seconds Empty
MesazhTitulli: Ban user after X joins in Y seconds   Ban user after X joins in Y seconds Empty19.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
  }
}






Mbrapsht nė krye Shko poshtė
http://wWw.yougode.Org
 
Ban user after X joins in Y seconds
Mbrapsht nė krye 
Faqja 1 e 1
 Similar topics
-
» Komandat Per User DHe @
» Right-click Generic Akill (4 seconds!)

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 | Report an abuse | Latest discussions