begin process at 2010 02 10 16:13:57
  Trouver un code source :
 
dans
 
Accueil > 

Code

 > 

AddOns

 > SHITLIST QUI MARCHE :)

SHITLIST QUI MARCHE :)


 Information sur la source

Note :
10 / 10 - par 1 personne
10,00 / 10

  • 1

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10
Catégorie :AddOns Niveau :Débutant Date de création :31/08/2003 Date de mise à jour :31/08/2003 15:15:53 Vu :3 004

Auteur : Tiboug

Ecrire un message privé
Site perso
Commentaire sur cette source (4)
Ajouter un commentaire et/ou une note

 Description

c'est une shitlist come son nom lindik
vous pouvez mettre un nombre de nick illimite dan votre liste
vous pouvez choisir le format de rejet : kick , kickban ou akick
vous pouvez lactiver et la desactiver :|
pour les akick il faut que le serveur ait les services epona ( chanserv en locurence)  
la capture est ici : http://consoljv.free.fr/shitlist.jpg
jcompren pas pk ircfr la validai pa :|

Source

  • dialog shite {
  • title "Shitlist par Tiboug"
  • size -1 -1 156 175
  • option dbu
  • list 1, 83 6 65 143, size
  • edit "", 2, 17 26 50 10, autohs
  • button "Ajouter", 3, 3 41 37 12
  • button "Supprimer", 4, 45 41 37 12
  • button "Modifier", 5, 23 59 37 12
  • box "Format de rejet", 6, 3 84 72 65
  • radio "Kick", 7, 13 95 24 10
  • radio "Kickban", 8, 13 111 33 10
  • radio "Akick", 9, 12 128 25 10
  • text "Pseudo :", 10, 25 10 26 8
  • button "Ok", 11, 5 163 143 12, ok cancel
  • check "Activer la Shitlist", 12, 20 152 65 10
  • }
  • alias shitmaj {
  • did -r shite 1
  • var %conte = 1
  • while ( %conte <= $gettok(%shit,0,44) ) {
  • did -a shite 1 $gettok(%shit,%conte,44)
  • inc %conte
  • }
  • }
  • on *:dialog:shite:init:0: {
  • shitmaj
  • if (%formashit == Kick) { did -c shite 7 }
  • if (%formashit == Kb) { did -c shite 8 }
  • if (%formashit == Akick) { did -c shite 9 }
  • if (%shitact == pikachu) { did -c shite 12 }
  • }
  • on *:dialog:shite:sclick:*:{
  • if ($did == 3) { set %shit $addtok(%shit,$did(2),44) | shitmaj }
  • if ($did == 5) && ($did(1).sel !== $null) { set %shit $reptok(%shit,$gettok(%shit,$did(1).sel,44),$did(2),1,44) | shitmaj }
  • if ($did == 1) { did -ra shite 2 $gettok(%shit,$did(1).sel,44) }
  • if ($did == 4) { set %shit $remtok(%shit,$gettok(%shit,$did(1).sel,44),44) | shitmaj }
  • if ($did == 7) { set %formashit Kick }
  • if ($did == 8) { set %formashit Kb }
  • if ($did == 9) { set %formashit Akick }
  • if ($did == 12) {
  • if ($did(12).state == 1) { set %shitact pikachu }
  • else { set %shitact carapuce }
  • }
  • }
  • on ^1:JOIN:#:{
  • if (%shitact == pikachu) && ($nick isin %shit) && (%formashit == Kick) { /kick $chan $nick 7 Tu es dans ma shitlisteuhhhhhh }
  • if (%shitact == pikachu) && ($nick isin %shit) && (%formashit == Kb) { /kick $chan $nick 7 Tu es dans ma shitlisteuhhhhhh | /ban $chan $nick }
  • if (%shitact == pikachu) && ($nick isin %shit) && (%formashit == Akick) { //msg chanserv akick $chan add $nick 7 Present dans la Shitlist de $me | /kick $chan $nick 7 Tu es dans ma shitlisteuhhhhhhhhh }
  • }
  • on *:load:{ /dialog -m shite shite }
  • menu menubar,channel,status,query {
  • ShitList :/dialog -m shite shite
  • -
  • }
dialog shite {
  title "Shitlist par Tiboug"
  size -1 -1 156 175
  option dbu
  list 1, 83 6 65 143, size 
  edit "", 2, 17 26 50 10, autohs
  button "Ajouter", 3, 3 41 37 12
  button "Supprimer", 4, 45 41 37 12
  button "Modifier", 5, 23 59 37 12
  box "Format de rejet", 6, 3 84 72 65
  radio "Kick", 7, 13 95 24 10
  radio "Kickban", 8, 13 111 33 10
  radio "Akick", 9, 12 128 25 10
  text "Pseudo :", 10, 25 10 26 8
  button "Ok", 11, 5 163 143 12, ok cancel
  check "Activer la Shitlist", 12, 20 152 65 10
}

alias shitmaj {
  did -r shite 1
  var %conte = 1
  while ( %conte <= $gettok(%shit,0,44) ) {
    did -a shite 1 $gettok(%shit,%conte,44) 
    inc %conte
  }
}
on *:dialog:shite:init:0: {   
  shitmaj
  if (%formashit == Kick) {  did -c shite 7 }
  if (%formashit == Kb) {  did -c shite 8 }
  if (%formashit == Akick) {  did -c shite 9 }
  if (%shitact == pikachu) { did -c shite 12 }
}
on *:dialog:shite:sclick:*:{
  if ($did == 3) { set %shit $addtok(%shit,$did(2),44) | shitmaj }
  if ($did == 5) && ($did(1).sel !== $null)  { set %shit $reptok(%shit,$gettok(%shit,$did(1).sel,44),$did(2),1,44) | shitmaj  }
  if ($did == 1) { did -ra shite 2 $gettok(%shit,$did(1).sel,44) }
  if ($did == 4) { set %shit $remtok(%shit,$gettok(%shit,$did(1).sel,44),44) | shitmaj }
  if ($did == 7) { set %formashit Kick }
  if ($did == 8) { set %formashit Kb }
  if ($did == 9) { set %formashit Akick }
  if ($did == 12) {
    if ($did(12).state == 1) { set %shitact pikachu  }
    else { set %shitact carapuce }
  }
}
on ^1:JOIN:#:{
  if  (%shitact == pikachu) && ($nick isin %shit) && (%formashit == Kick) { /kick $chan $nick 7 Tu es dans ma shitlisteuhhhhhh }
  if  (%shitact == pikachu) && ($nick isin %shit) && (%formashit == Kb) { /kick $chan $nick 7 Tu es dans ma shitlisteuhhhhhh | /ban $chan $nick }
  if (%shitact == pikachu) && ($nick isin %shit) && (%formashit == Akick) { //msg chanserv akick $chan add $nick  7 Present dans la Shitlist de $me | /kick $chan $nick 7 Tu es dans ma shitlisteuhhhhhhhhh   }
}
on *:load:{ /dialog -m shite shite }
menu menubar,channel,status,query {
  ShitList :/dialog -m shite shite 
  -
}



 Sources du même auteur

GREET MSG EN DIALOG SANS DLL
SONS CONFIG
Source avec une capture PSEUDO CONFIGURATION
Source avec Zip Source avec une capture REPONDEUR + PLUSIEURS FONCTIONS
Source avec Zip CHAN CREATOR V 1.0

 Sources de la même categorie

BLACKLIST PSEUDOS/MASKS par usurpateur
Source avec une capture [XCHAT] ANTI KICK / AWAY C++ par GeroXXXX
JEU DU CODE par alanpersonproject
SERVEUR FTP par hisoka2501
BANNIR LES AGES, LES HOMMES, LES FEMMES ET PSEUDO AVEC CHIFF... par cougar_du_havre

Commentaires et avis

Commentaire de doodah le 31/08/2003 14:24:17

NON DE DIOU ya une fote Tib ^^
dialog shite {
    title "Shitlist par Tiboug
tu as oublier le " après "Shitlist par Tiboug "
dialog shite {
    title "Shitlist par Tiboug "
voilà ^^

Commentaire de thyb le 01/09/2003 11:25:54

ta un truck qui risque d'etre defaillant :)
car dans le on ^1:join
si auparavant tu a ajouter le pseudo "a" :et bah tout se qui auron a dans leur pseudo seron kick ou ban ou voir akick lol donc se que je fairai je serai toi
alias verify.nick.shite {
var %i = 1
:loop
if ($gettok(%shit,%i,44) == $null) { halt }
if ($gettok(%shit,%i,44) == $1) { return okay }
inc %i
goto loop
}
et apres dans le on ^1:join:#: {
tu remplace le ($nick isin %shit) par ($verify.nick.shite($nick) == okay)
:) voila et apres plus de bug dans ton shite :p
et puis aussi ton %shite.contact t'aurai pu lui mettre un autre nom lol
enfin bref
bonne continuation :)

Commentaire de DrAzZiK69 le 01/09/2003 22:34:47

thyb arréte dutiliser goto ca utilise tro de ram, utilise while ca utilise o moin 10x moi de ram et c plu simple
wala @+ all ;)

Commentaire de drkeven le 10/10/2006 10:11:06

Tu qq1 qui peu mexpliquer pk? sa shitlist fonctionne juste pas nick et non par host...???
Puis ecriver moi un email ek un Vrai code source de shitlist.... dsl jsuis new ici :S lo0l
le.bon.gars@hotmail.com
vener mecrire un msg pour me dire kel source jdevrai prendre pour une bonne shitlist.. stable ek aucune limite pour add les nick/host/ident etc... :D

 Ajouter un commentaire




Nos sponsors


Sondage...

Comparez les prix

CalendriCode

Février 2010
LMMJVSD
1234567
891011121314
15161718192021
22232425262728

Consulter la suite du CalendriCode

 
Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils.
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés

Google Coop CodeS-SourceS Google Coop CodeS-SourceS
Temps d'éxécution de la page : 1,279 sec (4)

Nous contacter | Annoncer sur CodeS-SourceS | Mentions légales