Connexion


Publier un nouveau sujet Répondre au sujet  [ 6 messages ] 

Index du forum : Partie publique : Scripting

Auteur Message
 Sujet du message: Scripts de bombes (mIRC)
MessagePublié: Lun Avr 09, 2007 6:40 pm 
Hors-ligne
Gou-roux
Avatar de l’utilisateur

Inscrit le: Ven Mars 23, 2007 6:20 pm
Messages: 481
Localisation: 0x7f.0x00.0x00.0x01
Un petit script tout de bombe tout simple pour mIRC qui date... pour les amoureux du kick.

La version simple (2 couleurs):
Téléchargeable ici: boum
Code:
alias bomb2c {
  %bomb = 1
  %bombchan = $active
  %bombnick = $1
  %bombrand = $rand(0,1)
  %bombtime = $rand(20,70)
  say %bombnick $+ , tu as %bombtime secondes pour désamorcer la bombe... Alors fil 12!bleu ou fil 4!rouge? Héhé, Tic Tac !
  .timer500 1 %bombtime kick %bombchan %bombnick 4<< BOOM 4>>
  .timer501 1 $calc(%bombtime + 1) unset %bomb*
}
ON *:text:*:%bombchan: {
  if (%bomb != 1) || ($nick != %bombnick) { halt }
  elseif ($strip($1) == !bleu) {
    if (%bombrand == 0) { msg %bombchan *** Bomb defused by %bombnick *** | timer50* off | unset %bomb }
    if (%bombrand == 1) { kick %bombchan %bombnick 7<<4 BOOM 7>> | timer50* off | unset %bomb }
  }
  elseif ($strip($1) == !rouge) {
    if (%bombrand == 1) { msg %bombchan *** Bomb defused by %bombnick *** | timer50* off | unset %bomb }
    if (%bombrand == 0) { kick %bombchan %bombnick 7<<4 BOOM 7>> | timer50* off | unset %bomb }
  }
}
menu nicklist {
  Violence
  .Bombe:bombe2c $$1
}


La version 4 couleurs:
Téléchargeable ici: Boum*4
Code:
alias bomb4 {
  %bomb = 1
  %bombchan = $active
  %bombnick = $1
  %bombrand = $rand(0,3)
  %bombtime = $rand(20,70)
  say %bombnick $+ , tu as %bombtime secondes pour désamorcer la bombe... Alors fil 12!bleu, fil 4!rouge, fil 3!vert, fil 1!noir ou 8!filkifopakoupersinoncafaittoutpeter? Héhé, Tic Tac !
  .timer500 1 %bombtime kick %bombchan %bombnick 4<< BOOM 4>>
  .timer501 1 $calc(%bombtime + 1) unset %bomb*
}
ON *:text:*:%bombchan: {
  if (%bomb != 1) || ($nick != %bombnick) { halt }
  elseif ($strip($1) == !bleu) {
    if (%bombrand == 0) { msg %bombchan *** Bomb defused by %bombnick *** | timer50* off | unset %bomb* }
    if (%bombrand == 1) { kick %bombchan %bombnick 4<< BOOM 4>> mauvais fil! | timer50* off | unset %bomb* }
    if (%bombrand == 2) { msg %bombchan %bombnick coupe le mauvais fil ce qui lui vaut de perdre ses membres! | mode %bombchan -ohv %bombnick %bombnick % | timer50* off | unset %bomb* }
    if (%bombrand == 3) { msg %bombchan %bombnick diffuse la bombe et est promu ! | mode %bombchan +v %bombnick | timer50* off | unset %bomb* }
  }
  elseif ($strip($1) == !rouge) {
    if (%bombrand == 1) { msg %bombchan *** Bomb defused by %bombnick *** | timer50* off | unset %bomb* }
    if (%bombrand == 0) { kick %bombchan %bombnick 4<< BOOM 4>> Mauvais fil! | timer50* off | unset %bomb* }
    if (%bombrand == 3) { msg %bombchan %bombnick coupe le mauvais fil ce qui lui vaut de perdre ses membres! | mode %bombchan -ohv %bombnick %bombnick % | timer50* off | unset %bomb* }
    if (%bombrand == 2) { msg %bombchan %bombnick diffuse la bombe et est promu ! | mode %bombchan +v %bombnick | timer50* off | unset %bomb* }
  }
  elseif ($strip($1) == !vert) {
    if (%bombrand == 2) { msg %bombchan *** Bomb defused by %bombnick *** | timer50* off | unset %bomb* }
    if (%bombrand == 3) { kick %bombchan %bombnick 4<< BOOM 4>> Mauvais fil! | timer50* off | unset %bomb* }
    if (%bombrand == 1) { msg %bombchan %bombnick coupe le mauvais fil ce qui lui vaut de perdre ses membres! | mode %bombchan -ohv %bombnick %bombnick % | timer50* off | unset %bomb* }
    if (%bombrand == 0) { msg %bombchan %bombnick diffuse la bombe et est promu ! | mode %bombchan +v %bombnick | timer50* off | unset %bomb* }
  }
  elseif ($strip($1) == !noir) {
    if (%bombrand == 3) { msg %bombchan *** Bomb defused by %bombnick *** | timer50* off | unset %bomb* }
    if (%bombrand == 2) { kick %bombchan %bombnick 4<< BOOM 4>> Mauvais fil! | timer50* off | unset %bomb* }
    if (%bombrand == 0) { msg %bombchan %bombnick coupe le mauvais fil ce qui lui vaut de perdre ses membres! | mode %bombchan -ohv %bombnick %bombnick % | timer50* off | unset %bomb* }
    if (%bombrand == 1) { msg %bombchan %bombnick diffuse la bombe et est promu ! | mode %bombchan +v %bombnick | timer50* off | unset %bomb* }
  }
  elseif ($strip($left($1,1)) == !) { kick %bombchan %bombnick 4<< BOOM 4>>, t'as tout fait pèter, boulet. | timer50* off | unset %bomb* }
}
menu nicklist {
  Violence
  .Bombe 4 couleurs:bomb4 $$1
}


Voilà, pas de bêtise.

_________________
-Bastard Operator From Help-
Image


Dernière édition par San le Lun Avr 09, 2007 6:41 pm, édité 1 fois au total.

Back to top
 Profil Site Internet 
 
 Sujet du message:
MessagePublié: Mer Juin 27, 2007 7:18 pm 
comment on fait pour l'installer ?


Back to top
  
 
 Sujet du message:
MessagePublié: Mer Juin 27, 2007 10:49 pm 
Hors-ligne
Chevalier servant de Kashi`San
Avatar de l’utilisateur

Inscrit le: Ven Mars 23, 2007 7:29 pm
Messages: 46
Localisation: Québec
Tu peux le mettre dans un fichier que tu appelleras bomb.mrc dans le répertoire de mIRC puis le charger en tapant sous mIRC /load -rs bomb.mrc ou en fesant alt+R puis file -> Load...

Attention de ne pas mettre n'importe quel script sous mIRC car tu peux te retrouver avec des virus.


Back to top
 Profil  
 
 Sujet du message:
MessagePublié: Jeu Juin 28, 2007 5:49 pm 
dsl de vous redéranger :oops: mais je voudrai savoir comment on le met en marche ?


Back to top
  
 
 Sujet du message:
MessagePublié: Jeu Juin 28, 2007 11:48 pm 
Hors-ligne
Chevalier servant de Kashi`San
Avatar de l’utilisateur

Inscrit le: Ven Mars 23, 2007 7:29 pm
Messages: 46
Localisation: Québec
Pour le lancer, tu tapes /bomb4 pseudo (/bombc2 pseudo pour celle à 2 couleurs) pour que "pseudo" tente de désamorcer la bombe.
Ou alors tu fais un click droit sur son pseudo sur la nicklist et tu choisis Violence -> Bombe 4 couleurs (ou Bombe pour la bombe à 2 couleurs).


Back to top
 Profil  
 
 Sujet du message:
MessagePublié: Ven Juin 29, 2007 6:25 pm 
merci beaucoup pour ses reponce ^^


Back to top
  
 
Afficher les messages publiés depuis:  Trier par  
Publier un nouveau sujet Répondre au sujet  [ 6 messages ] 

Index du forum : Partie publique : Scripting


Qui est en ligne ?

Utilisateur(s) parcourant actuellement ce forum : Aucun utilisateur inscrit et 3 invité(s)


Vous ne pouvez pas publier de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum

Rechercher pour:
Sauter vers:  
cron
Style by Midnight Phoenix & N.Design Studio
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Traduction réalisée par Maël Soucaze © 2010 phpBB.fr