begin process at 2012 02 08 17:54:19
  Trouver un code source :
 
dans
 
Accueil > 

Code

 > 

AddOns

 > STATISTIQUES DE SALON

STATISTIQUES DE SALON


 Information sur la source

Note :
8,5 / 10 - par 2 personnes
8,50 / 10

  • 1

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10
Catégorie :AddOns Niveau :Débutant Date de création :05/02/2003 Date de mise à jour :05/02/2003 06:44:19 Vu :4 405

Auteur : i0Lo

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

 Description

Un petit script a insérer pour vous permettre d'obtenir les informations les plus importantes d'un salon  

Source

  • ;###########################
  • ; Statx
  • ;###########################
  • menu channel {
  • Get stats:/stats
  • }
  • alias stats {
  • if ( $me isop $chan ) { set %meop ON }
  • elseif ( $me !isop $chan ) { set %meop OFF }
  • if ( $chan(#).key == $null ) { set %channelkey There is no password for this channel }
  • elseif ( $chan(#).key != $null ) { set %channelkey $chan($chan).key }
  • if ( $chan(#).topic == $null ) { set %topic No topic for $chan }
  • elseif ( $chan(#).topic != $null ) { set %topic $chan(#).topic }
  • if ( $chan(#).limit == $null ) { set %chanlimit OFF }
  • elseif ( $chan(#).limit != $null ) { set %chanlimit ON }
  • //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] ---------------------------------------------------------
  • //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] 2Topic is : 1[2 3 $chan($chan).topic 1]
  • //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] 2Channel modes are : 1[23 $chan($chan).mode 1]
  • //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] 2Channel Password is : 1[23 %channelkey 1]
  • //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] 2Channel limit : 1[23 %chanlimit 1] 1[23 $chan(#).limit 1]
  • //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] 2There are : 4@ 1[2 $nick(#,0,o) 1] 5% 1[2 $nick(#,0,h) 1] 3+ 1[2 $nick(#,0,v) 1] Normal 1[2 $nick(#,0,r) 1]
  • //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] 2A total of : 1[2 $nick(#,0) 1] users
  • //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] 2Channel operator status for $me : 1[2 %meop 1]
  • //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] ---------------------------------------------------------
  • }
;###########################
;                       Statx
;###########################

menu channel {
 Get stats:/stats
}

alias stats {
  if ( $me isop $chan ) { set %meop ON }
  elseif ( $me !isop $chan ) { set %meop OFF }
  if ( $chan(#).key == $null ) { set %channelkey There is no password for this channel }
  elseif ( $chan(#).key != $null ) { set %channelkey $chan($chan).key }
  if ( $chan(#).topic == $null ) { set %topic No topic for $chan }
  elseif ( $chan(#).topic != $null ) { set %topic $chan(#).topic }
  if ( $chan(#).limit == $null ) { set %chanlimit OFF }
  elseif ( $chan(#).limit != $null ) { set %chanlimit ON }
  //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] ---------------------------------------------------------
  //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] 2Topic is : 1[2 3 $chan($chan).topic 1]
  //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] 2Channel modes are : 1[23 $chan($chan).mode 1]
  //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] 2Channel Password is : 1[23 %channelkey 1]
  //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] 2Channel limit : 1[23 %chanlimit 1] 1[23 $chan(#).limit 1]
  //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] 2There are : 4@ 1[2 $nick(#,0,o) 1] 5% 1[2 $nick(#,0,h) 1] 3+ 1[2 $nick(#,0,v) 1] Normal 1[2 $nick(#,0,r) 1]
  //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] 2A total of : 1[2 $nick(#,0) 1] users
  //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] 2Channel operator status for $me : 1[2 %meop 1]
  //echo $chan 1 $+ $timestamp $+ 1[2Stat/ $+ $chan $+ 1] ---------------------------------------------------------
}
  



 Sources du même auteur

AVERTO PV ( ALWAYS ON TOP )
CLONE SCAN TRES RAPIDE ( UNE FENETRE PAR SALON )
UN EDITEUR DE PSEUDOS
INPUT POUR CHANGEMENT DE PSEUDOS ( PTI TUTORIAL )
WHOIS ( $ADDRESS ET $RADDRESS ) SUR TOUS LES USAGÉS DU SALON...

 Sources de la même categorie

PACMAN MULTI-JOUEUR EN LIGNE par wims
PROXY&SOCKS SCANNER+LEECHER par independentt
GESTIONNAIRE DE HIGHLIGHT AVANCÉ AVEC IGNORE SALON OU PSEUDO par doob666
AUTOJOIN HTABLE MULTISERVER par doob666
TCL - AJOUT SUPPRESSION DE LOGS par Atok

Commentaires et avis

Commentaire de dj328i le 18/07/2003 21:09:17

$chan(#).topic

trop hot ! ca fait des semaines que je chercher un identifieur qui retourne le topic seul . Et ya jamais un foutu chat qui le savais .

thx mec

Commentaire de KiNdErMaXi le 12/09/2004 22:16:41

pas mal mais ce serai mieu en dialog la ca fait un paté en plus les couleurs sont pas top
bonne continuation

Commentaire de dj328i le 12/09/2004 22:26:34

hmm , il date ce poste :)

Commentaire de hahha le 17/05/2006 15:10:35

je veux le code qui concerne la statistique des personnels.svp mainetenant

 Ajouter un commentaire




Nos sponsors


Appels d'offres

Sondage...

CalendriCode

Février 2012
LMMJVSD
  12345
6789101112
13141516171819
20212223242526
272829    

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 : 3,760 sec (3)

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