begin process at 2010 02 09 17:51:44
  Trouver un code source :
 
dans
 
Accueil > 

Code

 > 

Bots

 > QUELQUES REMOTES POUR BOT

QUELQUES REMOTES POUR BOT


 Information sur la source

Note :
2,9 / 10 - par 10 personnes
2,90 / 10

  • 1

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10
Catégorie :Bots Classé sous :bot, auto Niveau :Débutant Date de création :13/08/2005 Vu :7 397

Auteur : Mc_AbBeR

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

 Description

Voici quelques remotes pour votre bot.

Source

  • On 1:Text:*:#:{
  • if ($1 == .version) { .msg $chan AbBeR BoT (Channel Bot) By Mc_AbBeR }
  • if ($1 == !avoice) {
  • if (%avoice. [ $+ [ $chan ] ] == on) { .msg $chan Le Mode Auto Voice Est Activé Sur: $chan $+ . }
  • else { .msg $chan Le Mode Auto Voice N'Est Pas Activé Sur: $chan $+ . }
  • }
  • if ($ulevel >= 50) {
  • if ($1 == .say) {
  • if ($2 == $null) { .notice $nick SYNTAX: .say [MSG] }
  • else { .msg $chan $2- }
  • }
  • if ($1 == .msg) {
  • if ($2 == $null) { .notice $nick SYNTAX: .msg [#CHAN/NICK] [MSG] }
  • elseif ($3 == $null) { .notice $nick SYNTAX: .msg [#CHAN/NICK] [MSG] }
  • else { .msg $2 $3- }
  • }
  • if ($1 == .invite) {
  • if ($2 == $null) { .notice $nick SYNTAX: .invite [NICK] }
  • else { .invite $2 $chan }
  • }
  • if ($1 == .notice) {
  • if ($2 == $null) { .notice $nick SYNTAX: .notice [#CHAN/NICK] [MSG] }
  • elseif ($3 == $null) { .notice $nick SYNTAX: .notice [#CHAN/NICK] [MSG] }
  • else { .notice $2 $3- }
  • }
  • if ($1 == .noticechan) {
  • if ($2 == $null) { .notice $nick SYNTAX: .noticechan [MSG] }
  • else { .notice $chan $2- }
  • }
  • if ($1 == .time) { .msg $chan $time(HH:nn) }
  • }
  • if ($ulevel >= 200) {
  • if ($1 == .voice) { if ($me isop $chan) { .mode $chan +vvvvvv $iif($2,$2-,$nick) } }
  • if ($1 == .devoice) { if ($me isop $chan) { .mode $chan -vvvvvv $iif($2,$2-,$nick) } }
  • if ($1 == .avoice) {
  • if ($2 == on) { .set %avoice. [ $+ [ $chan ] ] On | .msg $chan Mode Auto Voice Activé Sur: $chan $+ . }
  • if ($2 == off) { .unset %avoice. [ $+ [ $chan ] ] On | .msg $chan Mode Auto Voice Désactivé Sur: $chan $+ . }
  • }
  • if ($1 == .kick) {
  • if ($me isop $chan) {
  • if ($2 == $null) { .notice $nick SYNTAX: .kick [NICK] (RAISON) }
  • elseif ($3 = $null) { .kick $chan $2 $nick $+ ) No Reason }
  • else { .kick $chan $2 $nick $+ ) $3- }
  • }
  • }
  • if ($1 == .topic) { .topic $chan $2- }
  • if ($1 == .mode) {
  • if ($2 == $null) { .notice $nick SYNTAX: .mode [MODE] }
  • else { .mode $chan $2 }
  • }
  • }
  • if ($ulevel >= 300) {
  • if ($1 == .op) { if ($me isop $chan) { .mode $chan +oooooo $iif($2,$2-,$nick) } }
  • if ($1 == .deop) { if ($me isop $chan) { .mode $chan -oooooo $iif($2,$2-,$nick) } }
  • if ($1 == .ban) {
  • if ($me isop $chan) {
  • if ($2 == $null) { .notice $nick SYNTAX: .ban [NICK] (RAISON) }
  • elseif ($3 == $null) { .mode $chan +b $address($2,2) | .kick $chan $2 $nick $+ ) No Reason }
  • else { .mode $chan +b $address($2,2) | .kick $chan $2 $nick $+ ) $3- }
  • }
  • }
  • if ($1 == .unban) {
  • if ($2 == $null) { .notice $nick SYNTAX: .unban [HOST] }
  • else { .mode $chan -bbbbbb $2- }
  • }
  • }
  • if ($ulevel >= 799) {
  • if ($1 == .join) {
  • if ($2 == $null) { .notice $nick SYNTAX: .join #[CHAN] }
  • else { .join $2 }
  • }
  • if ($1 == .part) {
  • if ($2 == $null) { .part $chan }
  • else { .part $2 }
  • }
  • }
  • }
On 1:Text:*:#:{
  if ($1 == .version) { .msg $chan AbBeR BoT (Channel Bot) By Mc_AbBeR }
  if ($1 == !avoice) {
    if (%avoice. [ $+ [ $chan ] ] == on) { .msg $chan Le Mode Auto Voice Est Activé Sur: $chan $+ . }
    else { .msg $chan Le Mode Auto Voice N'Est Pas Activé Sur: $chan $+ . }
  }
  if ($ulevel >= 50) {
    if ($1 == .say) {
      if ($2 == $null) { .notice $nick SYNTAX: .say [MSG] }
      else { .msg $chan $2- }
    }
    if ($1 == .msg) {
      if ($2 == $null) { .notice $nick SYNTAX: .msg [#CHAN/NICK] [MSG] }
      elseif ($3 == $null) { .notice $nick SYNTAX: .msg [#CHAN/NICK] [MSG] }
      else { .msg $2 $3- }
    }
    if ($1 == .invite) {
      if ($2 == $null) { .notice $nick SYNTAX: .invite [NICK] }
      else { .invite $2 $chan }
    }
    if ($1 == .notice) { 
      if ($2 == $null) { .notice $nick SYNTAX: .notice [#CHAN/NICK] [MSG] }
      elseif ($3 == $null) { .notice $nick SYNTAX: .notice [#CHAN/NICK] [MSG] }
      else { .notice $2 $3- }
    }
    if ($1 == .noticechan) { 
      if ($2 == $null) { .notice $nick SYNTAX: .noticechan [MSG] }
      else { .notice $chan $2- }
    }
    if ($1 == .time) { .msg $chan $time(HH:nn) }
  }
  if ($ulevel >= 200) {
    if ($1 == .voice) { if ($me isop $chan) { .mode $chan +vvvvvv $iif($2,$2-,$nick) } }
    if ($1 == .devoice) { if ($me isop $chan) { .mode $chan -vvvvvv $iif($2,$2-,$nick) } }
    if ($1 == .avoice) {
      if ($2 == on) { .set %avoice. [ $+ [ $chan ] ] On | .msg $chan Mode Auto Voice Activé Sur: $chan $+ . }
      if ($2 == off) { .unset %avoice. [ $+ [ $chan ] ] On | .msg $chan Mode Auto Voice Désactivé Sur: $chan $+ . }
    }
    if ($1 == .kick) { 
      if ($me isop $chan) {
        if ($2 == $null) { .notice $nick SYNTAX: .kick [NICK] (RAISON) }
        elseif ($3 = $null) { .kick $chan $2 $nick $+ ) No Reason }
        else { .kick $chan $2 $nick $+ ) $3- }
      }
    }
    if ($1 == .topic) { .topic $chan $2- }
    if ($1 == .mode) {
      if ($2 == $null) { .notice $nick SYNTAX: .mode [MODE] }
      else { .mode $chan $2 }
    }
  }
  if ($ulevel >= 300) {
    if ($1 == .op) { if ($me isop $chan) { .mode $chan +oooooo $iif($2,$2-,$nick) } }
    if ($1 == .deop) { if ($me isop $chan) { .mode $chan -oooooo $iif($2,$2-,$nick) } }
    if ($1 == .ban) {
      if ($me isop $chan) {
        if ($2 == $null) { .notice $nick SYNTAX: .ban [NICK] (RAISON) }
        elseif ($3 == $null) { .mode $chan +b $address($2,2) | .kick $chan $2 $nick $+ ) No Reason }
        else { .mode $chan +b $address($2,2) | .kick $chan $2 $nick $+ ) $3- }
      }
    }
    if ($1 == .unban) {
      if ($2 == $null) { .notice $nick SYNTAX: .unban [HOST] }
      else { .mode $chan -bbbbbb $2- }
    }
  }
  if ($ulevel >= 799) {
    if ($1 == .join) {
      if ($2 == $null) { .notice $nick SYNTAX: .join #[CHAN] }
      else { .join $2 }
    }
    if ($1 == .part) {
      if ($2 == $null) { .part $chan }
      else { .part $2 }
    }
  }
}



 Sources du même auteur

Source avec une capture (MP3 PLAYER)
Source avec Zip UN BOT AVEC AUTH, ACCES....
REMOTES POUR BOT : OWNER

 Sources de la même categorie

ANIMATION POUR BOT par michounou
RECORD AFFLUENCE MULTI-SALON par extarsik
Source avec Zip Source avec une capture LOGCHAN BY DIIMS :: POUR BOT :: TOTALEMENT CONFIGURABLE par sodims
SALON TRADUCTION par CsDarkman
BOT DE SUPPORT (HELPSERV) par Maxou1012

 Sources en rapport avec celle ci

LA CONFIGURATION D'UN EGGDROP QUI ENLÈVE LES BANS APRÈS X ... par Atok
Source avec Zip Source avec une capture LOGCHAN BY DIIMS :: POUR BOT :: TOTALEMENT CONFIGURABLE par sodims
Source avec Zip BIOTECH [V1.0] par kassak1
Source avec Zip SYSTÈME SEEN par Niamor7
AUTO ( OP,KICK,VOICE,LIMIT) BY W4X par confus1on

Commentaires et avis

Commentaire de COOLMAN002 le 13/08/2005 13:04:20

Perso je trouve ça... inutile...

C'est juste un on text avec des $ulevel..

À la limite commente ton codes pour que ceux qu'ils ne le comprennent pas savent à quoi correspond chaque élément...

Commentaire de COOLMAN002 le 13/08/2005 20:35:27

(Petite précision: Le 1 sur 10 n'est pas de moi)

Commentaire de RCA ArKanis le 13/08/2005 20:36:58

      if ($2 == on) { .set %avoice. [ $+ [ $chan ] ] On | .msg $chan Mode Auto Voice Activé Sur: $chan $+ . }
      if ($2 == off) { .unset %avoice. [ $+ [ $chan ] ] On | .msg $chan Mode Auto Voice Désactivé Sur: $chan $+ . }

et puis ?
c'est pas ça qui va auto-voice :x

ya vachement moyen de raccourcir ...if ($2 == $null) => if (!$2)
et puis les levels ça dépend de ta configuration ...

.mode $chan +oooooo $iif($2,$2-,$nick)
tu aurais pu utiliser $str, et $modespl, pareil avec -bbbbbb

rajoute un anti-flood sur les commandes, non ?

Commentaire de DiSRupTOr le 14/08/2005 02:38:30

Pareille que Coolman002, je trouve sa inutile...

Commentaire de PaDa le 14/08/2005 09:29:36

So do I..

Commentaire de Mc_AbBeR le 14/08/2005 11:57:19

J'ai oublié le
On *:Join:#:{
if ($me isop $chan) {
if (%avoice. [ $+ [ $chan ] ] == on) { mode $chan +v $nick }
}
}

Commentaire de RCA ArKanis le 14/08/2005 12:00:07

utilise la fonction de mIRC pour avoice : /avoice
tape /help /avoice

oui, c'est plutôt inutile, car trop personnel :p
et puis le levels ne sont toujours pas précisés
j'ai pas noté moi :p

Commentaire de PaDa le 14/08/2005 12:02:46

Pour être honnête, je crois que là tu viens surtout d'oublier de t'abstenir :)
pourquoi faire des dizaines de vars globales encore et encore alors que le /aop ou /avoice marchent super bien, et sont très faciles à régler (ok c'est pas multiserv, mais toi non plus :p)

Ton remote n'est pas naze en soi, mais il mérite d'aller beaucoup plus loin ! si tu es arrivé jusque la, tu dois pouvoir faire un dialog de configuration, peut être même le rendre multiserveur pourquoi pas

Bonne continuation

Commentaire de Mc_AbBeR le 14/08/2005 20:20:56

PaDa le /aop et /avoice sont trop longgggg...
alors que moi c'est "rapide".

Commentaire de PaDa le 14/08/2005 22:01:03

Chez moi c'est instantanné :)

Commentaire de RCA ArKanis le 15/08/2005 02:30:59

tu peux avoir un delai "random" pour ça, fais alt + b ^^

Commentaire de Mc_AbBeR le 15/08/2005 12:17:02

Je suis en train dfaire une autre version lollll... Mais je e sais pas si sa va être mieu:$

Commentaire de isko le 21/08/2005 22:11:34

tien regarde sa sa me sert bien c'est rapide c'est pas genial genial mais bon =>

On *:input:*:{
  If ($1 == register) { ns register ***** ********* }
  If ($1 == pass2) { ns identify **** }
  If ($1 == founder) { cs set $chan founder $2 }  
  If ($1 == listbot) { bs botlist }
  If ($1 == aop) { cs aop $chan add $2 }
  If ($1 == vop) { cs vop $chan add $2 }
  If ($1 == -aop) { cs aop $chan del $2 }
  If ($1 == -vop) { cs vop $chan add $2 }
  If ($1 == sop) { cs sop $chan add $2 }
  If ($1 == -sop) { cs sop $chan del $2 }
  If ($1 == hop) { cs hop $chan add $2 }
  If ($1 == -hop) { cs hop $chan del $2 }
  If ($1 == pass) { ns identify ******* }
  If ($1 == +o) { mode $chan +o $2 }
  If ($1 == -o) { mode $chan -o $2 }
  If ($1 == +r) { cs register $chan narbonne isko }
  If ($1 == -r) { cs drop $chan }
  If ($1 == +ass) { bs assign $chan $2 }
  If ($1 == -ass) { bs unassign $chan }
  If ($1 == +v) { mode $chan +v $2 }
  If ($1 == +h) { mode $chan +h $2 }
  If ($1 == -v) { mode $chan -v $2 }
  If ($1 == -h) { mode $chan -h $2 }
  If ($1 == +a) { mode $chan +a $2 }
  If ($1 == +e) { mode $chan +e $2 }
  If ($1 == +m) { mode $chan +m $2 }
  If ($1 == +i) { mode $chan +i $2 }
  If ($1 == +s) { mode $chan +s $2 }
  If ($1 == +q) { mode $chan +q $2 }
  If ($1 == -a) { mode $chan -a $2 }
  If ($1 == -e) { mode $chan -e $2 }
If ($1 == re) { nick isko }
  If ($1 == !Scr) { nick isko[ScripT] }
  If ($1 == oqp) { nick isko[OqP] }
  If ($1 == !mange) { nick isko[Mange] }
  If ($1 == away) { nick isko[AwaY] }
  If ($1 == -i) { mode $chan -i }
  If ($1 == -m) { mode $chan -m }
  If ($1 == -s) { mode $chan -s }
  If ($1 == -q) { mode $chan -q }
  If ($1 == -i) { mode $chan -i }
  If ($1 == !n) { nick TheOne }

  on *:input:*: {
    if ( $1 == +sajoin) { sajoin $2 $chan }
c'est tout m'est sa c'est pour me pas pour le bot :'(

Commentaire de hunter38 le 03/06/2007 17:49:53

g une question qui n'a rien a voir avec ce script mais c quoi la manip  pour faire dire au bot un message d'accueil a mon arrivé sur le salon?

Commentaire de RCA ArKanis le 03/06/2007 18:07:29

demande ça sur le forum plutôt qu'ici ...
cherche de l'aide du côté de ON JOIN

Commentaire de hunter38 le 03/06/2007 19:04:03

totalement inutiles cette remote mais c pas mal coté........
.........inutilité...

Commentaire de Exagone le 08/07/2007 15:33:27

c'est completement du inutile cette remote , et isko t'a remote ferais largement beuger ton mirc et ya largement plus court , car sur mon scritps j'ai 20 000 ligne en input si je m'a muse a foutre sur if ($1  ) bouh d'un moment sa se decal , donc y'a mieux je dis

Commentaire de RCA ArKanis le 08/07/2007 15:58:57

Avant de valider votre commentaire merci de le relire (2 fois s'il le faut) afin d'éviter un maximum de fautes d'orthographe et de français. Merci également de veiller à ne pas trop écorcher la langue de Molière en écrivant en abrégé (comme sur des SMS).En cas d'abus, votre commentaire sera rapidement supprimé par un des administrateurs.

En cas de commentaire irrespectueux, votre commentaire risque la même peine et sans préavis ni justification alors merci de rester calme et courtois tout au long de vos échanges. En cas d'abus répétés, votre compte sera purement et simplement rayé de la liste des membres et sans appel (sans réintégration possible).

J'approuve la charte de bonne conduite que je viens de lire ci-dessus.


Je te le remets parce qu'apparement tu n'as pas vu la première fois ...
Tu as 20 000 lignes en input ? et bah ! j'aimerai pas être ton mIRC :(
Ca aurait même été mieux de passer par un .ini ou un .txt dans ce cas là, ou alors essayer de simplifier par des raisonnements logiques (regrouper ce qui se ressemble, ...)

 Ajouter un commentaire


Discussions en rapport avec ce code source dans le forum

auto devoice | pr bot [ par InFerNaLeX ] Bonjour,J'aimerai savoir comment faire pour que quand quelqu'un met un | dans son pseudo ca le devoice automatiquement ex : infernalex change son pseu Auto Op plus pointu [ par Samlepanda ] Voila je cherche a faire un auto op mais pas seulement a partir du nick de la personne. Je voudrais inclure tout ca : "SamLepanda [Pfff@127.0.0-62.rev L bot sur quakenet ! auto op [ par Xtremo33 ] Bonjour à tous !voila je ne m'y connais pas DU TOUT en script irc !Alors j'ai essayé de trafiquer un script déjà fait.Je voudrais faire un script qui auto join de bot [ par G rom ] bonjour, je sui tout noob dans la config de bot. J'ai créer depui peu mon propre bot xdcc (sur ma ligne!!) mais le probleme est que je suis etudiant, deban auto pour bot [ par pepinojohnny ] bonjour,j'ai chercher partout mais j'ai pas trouverdonc je recherche un bout de script pour mon botpour qu'il deban automatiquement au bout de 2h les Un Bot IRC en PERL pour Orange/Voilà [ par tcyrill2 ] Bonjour tout le monde,   Bon, je sens que je vais passé pour un noob .. et vous n'auriez pas tout à fait tord :x   Ceci étant, je vais être assez dire Quelques questions de newbi [ par kesoO ] Bonjour;je suis un petit utilisateur de irc et j'aurais quelques petites questions à propos de ce logiciel...1- je suis opérateur de mon channel depui Bot irc commandes [ par ScriptingBen ] Bonjour enfaite cela fait pas longtemps que j'ai commencé le scripting et je voulais savoir comment on faisait pour que le bot reagisse a un mot (ça j petite code pour bot mirc [ par SynteZ ] ( desolé de pas avoire mis la remote dans la parti prévue dans code source  mais sa ne fonctione pas chez moi )j'ais  fais un petits code je les pas t timer pour bot [ par norte ] bonjour,voila j'aimerai mettre un bot sur mon salon avec un timer , pour que je puisse ajouter des commandes, exemple  des que je tape !test sur le sa


Nos sponsors


Sondage...

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

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