Gestionnaire chanserv

Soyez le premier à donner votre avis sur cette source.

Vue 4 396 fois - Téléchargée 190 fois

Description

gestionnaire regroupant au maximum de facon clair et pratique les différentes options les plus utiles et courantes sous chanserv.Il est fait avec mdx car tout dans mon script est fait comme ceci,sans boutons pour une question d'esthetique,enfin c'est mon choix,donc je poste cette source au cas ou elle peut être utile à certains.Pour la couleur elle peut ne pas plaire,libre à chacun de la modifier c'est tout bête,alors ne pas polluer avec des "j'aime pas la couleur gnagnagna" .merci.
Je la place en débutant car il n'y a rien de sorcier,c'est surtout utile.
:o)

Source / Exemple :


"------ "megachanserv"------ "
"      PaR LeBaRoNrOuGe      "
"------ "megachanserv"------ "

dialog megachanserv {
  title "© chanserv©"
  size -1 -1 173 180
  option dbu
  tab "general", 444, -2 -4 178 207
  text "passe?", 3, 90 24 18 7, tab 444 center
  text "ok", 4, 137 73 8 7, tab 444 center
  text "ok", 5, 85 114 8 8, tab 444 center
  text "description", 6, 73 35 30 7, tab 444 center
  text "valider", 7, 76 178 25 7, tab 444 center
  text "fermer", 8, 79 194 18 7, tab 444 center
  text "enregistrer", 9, 54 57 28 7, tab 444 center
  text "valider", 10, 76 146 25 7, tab 444 center
  text "canal?", 11, 5 24 18 7, tab 444 center
  text "email?", 12, 23 101 16 8, tab 444 center
  text "effacer", 427, 101 57 18 7, tab 444 center
  edit "", 193, 24 23 62 10, tab 444 multi hsbar center
  edit "", 194, 52 74 70 10, tab 444 multi hsbar center
  edit "", 195, 108 23 62 10, tab 444 multi hsbar center
  edit "", 196, 42 100 90 10, tab 444 multi hsbar center
  edit "", 197, 5 43 166 10, tab 444 multi hsbar
  edit "", 198, 5 132 166 10, tab 444 multi return hsbar
  edit "", 199, 5 164 166 10, tab 444 multi return hsbar
  box "", 267, 126 70 30 10, tab 444
  box "", 268, 74 111 30 10, tab 444
  box "", 269, 68 190 40 12, tab 444
  box "", 270, 51 54 33 10, tab 444
  box "", 271, 72 143 33 10, tab 444
  box "", 272, 72 175 33 10, tab 444
  box "Lier une URL", 273, 2 123 172 23, tab 444
  box "Message d'Acueil", 274, 2 155 172 23, tab 444
  box "Passe oublié", 275, 2 91 172 23, tab 444
  box "Changer passe", 276, 2 65 171 23, tab 444
  box "Enregistrer", 277, 2 13 172 44, tab 444
  box "", 428, 93 54 33 10, tab 444
  button "Button", 393, 397 403 1 12, tab 444 ok cancel
  tab "levels", 555
  text "definir les levels pour l'acces à ses fonctions", 13, 31 18 114 7, tab 555 center
  text "auto deop", 14, 13 40 36 7, tab 555
  text "auto halfop", 15, 13 50 36 7, tab 555
  text "auto op", 16, 13 60 36 7, tab 555
  text "auto protect", 17, 13 70 36 7, tab 555
  text "auto voice", 18, 13 80 36 7, tab 555
  text "access list", 19, 13 90 36 7, tab 555
  text "access change", 20, 13 100 36 7, tab 555
  text "akick", 21, 13 110 36 7, tab 555
  text "set", 22, 13 120 36 7, tab 555
  text "ban", 23, 13 130 36 7, tab 555
  text "clear", 24, 13 140 36 7, tab 555
  text "halfop", 25, 13 150 36 7, tab 555
  text "se (de)halfop", 26, 13 160 36 7, tab 555
  text "signkick", 27, 13 170 36 7, tab 555
  text "kick", 28, 102 40 36 7, tab 555
  text "op/deop", 29, 102 50 36 7, tab 555
  text "se op/deop ", 30, 102 60 36 7, tab 555
  text "protect", 31, 102 70 36 7, tab 555
  text "se protect ", 32, 102 80 36 7, tab 555
  text "topic", 33, 102 90 36 7, tab 555
  text "unban", 34, 102 100 36 7, tab 555
  text "voice", 35, 102 110 36 7, tab 555
  text "se voice ", 36, 102 120 36 7, tab 555
  text "assign", 37, 102 130 36 7, tab 555
  text "badwords", 38, 102 140 36 7, tab 555
  text "greet", 39, 102 150 36 7, tab 555
  text "no kick", 40, 102 160 36 8, tab 555
  text "say", 41, 102 170 36 7, tab 555
  text "ok", 42, 67 39 7 7, tab 555
  text "ok", 43, 67 49 7 7, tab 555
  text "ok", 44, 67 59 7 7, tab 555
  text "ok", 45, 67 69 7 7, tab 555
  text "ok", 46, 67 79 7 7, tab 555
  text "ok", 47, 67 89 7 7, tab 555
  text "ok", 48, 67 99 7 7, tab 555
  text "ok", 49, 67 109 7 7, tab 555
  text "ok", 50, 67 119 7 7, tab 555
  text "ok", 51, 67 129 7 7, tab 555
  text "ok", 52, 67 139 7 7, tab 555
  text "ok", 53, 67 149 7 7, tab 555
  text "ok", 54, 67 159 7 7, tab 555
  text "ok", 55, 67 169 7 7, tab 555
  text "ok", 56, 156 39 7 7, tab 555
  text "ok", 57, 156 49 7 7, tab 555
  text "ok", 58, 156 59 7 7, tab 555
  text "ok", 59, 156 69 7 7, tab 555
  text "ok", 60, 156 79 7 7, tab 555
  text "ok", 61, 156 89 7 7, tab 555
  text "ok", 62, 156 99 7 7, tab 555
  text "ok", 63, 156 109 7 7, tab 555
  text "ok", 64, 156 119 7 7, tab 555
  text "ok", 65, 156 129 7 7, tab 555
  text "ok", 66, 156 139 7 7, tab 555
  text "ok", 67, 156 149 7 7, tab 555
  text "ok", 68, 156 159 7 7, tab 555
  text "ok", 69, 156 169 7 7, tab 555
  edit "", 200, 50 39 10 9, tab 555 center
  edit "", 201, 50 49 10 9, tab 555 center
  edit "", 202, 50 59 10 9, tab 555 center
  edit "", 203, 50 69 10 9, tab 555 center
  edit "", 204, 50 79 10 9, tab 555 center
  edit "", 205, 50 89 10 9, tab 555 center
  edit "", 206, 50 99 10 9, tab 555 center
  edit "", 207, 50 109 10 9, tab 555 center
  edit "", 208, 50 119 10 9, tab 555 center
  edit "", 209, 50 129 10 9, tab 555 center
  edit "", 210, 50 139 10 9, tab 555 center
  edit "", 211, 50 149 10 9, tab 555 center
  edit "", 212, 50 159 10 9, tab 555 center
  edit "", 213, 50 169 10 9, tab 555 center
  edit "", 214, 139 39 10 9, tab 555 center
  edit "", 215, 139 49 10 9, tab 555 center
  edit "", 216, 139 59 10 9, tab 555 center
  edit "", 217, 139 69 10 9, tab 555 center
  edit "", 218, 139 79 10 9, tab 555 center
  edit "", 219, 139 89 10 9, tab 555 center
  edit "", 220, 139 99 10 9, tab 555 center
  edit "", 221, 139 109 10 9, tab 555 center
  edit "", 222, 139 119 10 9, tab 555 center
  edit "", 223, 139 129 10 9, tab 555 center
  edit "", 224, 139 139 10 9, tab 555 center
  edit "", 225, 139 149 10 9, tab 555 center
  edit "", 226, 139 159 10 9, tab 555 center
  edit "", 227, 139 169 10 9, tab 555 center
  box "", 279, 64 46 11 11, tab 555
  box "", 280, 64 56 11 11, tab 555
  box "", 281, 64 66 11 11, tab 555
  box "", 282, 64 76 11 11, tab 555
  box "", 283, 64 86 11 11, tab 555
  box "", 284, 64 96 11 11, tab 555
  box "", 285, 64 106 11 11, tab 555
  box "", 286, 64 116 11 11, tab 555
  box "", 287, 64 126 11 11, tab 555
  box "", 288, 64 136 11 11, tab 555
  box "", 289, 64 146 11 11, tab 555
  box "", 290, 64 156 11 11, tab 555
  box "", 291, 64 166 11 11, tab 555
  box "", 292, 153 36 11 11, tab 555
  box "", 293, 153 46 11 11, tab 555
  box "", 294, 153 66 11 11, tab 555
  box "", 295, 153 56 11 11, tab 555
  box "", 296, 153 76 11 11, tab 555
  box "", 297, 153 86 11 11, tab 555
  box "", 298, 153 96 11 11, tab 555
  box "", 299, 153 106 11 11, tab 555
  box "", 300, 153 116 11 11, tab 555
  box "", 301, 153 126 11 11, tab 555
  box "", 302, 153 136 11 11, tab 555
  box "", 303, 153 146 11 11, tab 555
  box "", 304, 153 156 11 11, tab 555
  box "", 305, 153 166 11 11, tab 555
  box "", 306, 31 14 115 12, tab 555
  box "", 307, 6 30 165 153, tab 555
  box "", 308, 64 36 11 11, tab 555
  link "?", 426, 165 190 4 8, tab 555
  tab "access", 666
  text "@", 70, 84 36 7 7, tab 666 center
  text "%", 71, 102 36 7 7, tab 666 center
  text "+", 72, 119 36 8 7, tab 666 center
  text "del", 73, 136 36 9 7, tab 666 center
  text "Liste", 74, 153 36 12 7, tab 666 center
  text "ajouter", 75, 89 81 19 7, tab 666 center
  text "retirer", 76, 116 81 17 7, tab 666 center
  text "liste", 77, 143 81 15 7, tab 666 center
  text "", 78, 5 17 65 8, tab 666 center
  text "refresh", 79, 26 181 20 7, tab 666 center
  edit "", 228, 93 54 60 10, tab 666 center
  edit "", 229, 89 99 70 10, tab 666 center
  box "", 309, 80 31 14 14, tab 666
  box "", 310, 98 31 14 14, tab 666
  box "", 311, 116 31 14 14, tab 666
  box "", 312, 134 31 14 14, tab 666
  box "Gestion des accèss", 313, 76 25 94 25, tab 666
  box "Gestion des Akicks", 314, 76 70 94 25, tab 666
  box "", 315, 139 77 22 13, tab 666
  box "", 316, 113 77 22 13, tab 666
  box "", 317, 87 77 22 13, tab 666
  box "", 318, 24 177 23 12, tab 666
  box "", 319, 152 31 14 14, tab 666
  list 394, 4 27 68 150, tab 666 sort size extsel hsbar vsbar
  link "?", 429, 167 195 4 8, tab 666
  tab "botserv", 777
  text "Flood", 80, 10 120 27 7, tab 777 center
  text "oui", 81, 41 120 10 7, tab 777 center
  text "non", 82, 60 120 10 7, tab 777 center
  text "Ban apres:", 83, 82 120 26 7, tab 777 center
  text "kicks", 84, 128 120 15 7, tab 777 center
  text "ok", 85, 152 120 10 7, tab 777 center
  text "Majuscules", 86, 10 142 27 7, tab 777
  text "oui", 87, 41 142 10 7, tab 777 center
  text "non", 88, 60 142 10 7, tab 777 center
  text "Ban apres:", 89, 82 142 26 7, tab 777 center
  text "kicks", 90, 128 142 15 7, tab 777 center
  text "ok", 91, 152 142 10 7, tab 777 center
  text "Repetitions", 92, 9 164 27 7, tab 777 center
  text "oui", 93, 41 164 10 7, tab 777 center
  text "non", 94, 60 164 10 7, tab 777 center
  text "Ban apres:", 95, 82 164 26 7, tab 777 center
  text "kicks", 96, 128 164 15 7, tab 777 center
  text "ok", 97, 152 164 10 7, tab 777 center
  text "Gras", 98, 10 186 27 7, tab 777 center
  text "oui", 99, 41 186 10 7, tab 777 center
  text "non", 100, 60 186 10 7, tab 777
  text "Ban apres:", 101, 82 186 26 7, tab 777 center
  text "kicks", 102, 128 186 15 7, tab 777 center
  text "ok", 103, 152 186 10 7, tab 777 center
  text "Insultes", 104, 12 83 20 7, tab 777 center
  text "oui", 105, 41 83 10 7, tab 777 center
  text "non", 106, 60 83 10 7, tab 777 center
  text "Ban apres:", 107, 82 83 26 7, tab 777 center
  text "kicks", 108, 128 83 15 7, tab 777 center
  text "ok", 109, 152 83 10 7, tab 777 center
  text "ajouter", 110, 12 98 19 7, tab 777 center
  text "retirer", 111, 41 98 19 7, tab 777 center
  text "/", 112, 35 98 3 7, tab 777
  text "lister", 113, 130 98 13 7, tab 777 center
  text "clear", 114, 150 98 14 7, tab 777 center
  text "lister", 115, 15 24 15 7, tab 777 center
  text "assigner", 116, 39 24 22 7, tab 777 center
  text "/", 117, 66 24 3 7, tab 777 center
  text "retirer", 118, 78 24 16 7, tab 777 center
  text "Proteger op", 119, 17 49 30 7, tab 777 center
  text "oui", 120, 51 49 10 7, tab 777 center
  text "non", 121, 69 49 10 7, tab 777 center
  text "Proteger voice", 122, 87 49 38 7, tab 777 center
  text "oui", 123, 129 49 10 7, tab 777 center
  text "non", 124, 147 49 10 7, tab 777 center
  edit "", 230, 110 119 14 10, tab 777 center
  edit "", 231, 110 141 14 10, tab 777 center
  edit "", 232, 110 163 14 10, tab 777 center
  edit "", 233, 110 185 14 10, tab 777 center
  edit "", 234, 110 82 14 10, tab 777 center
  edit "", 235, 70 96 50 10, tab 777 center
  edit "", 236, 110 22 50 10, tab 777 center
  box "", 320, 58 116 14 13, tab 777
  box "", 321, 150 116 14 13, tab 777
  box "", 322, 6 113 164 19, tab 777
  box "", 323, 39 138 14 13, tab 777
  box "", 324, 58 138 14 13, tab 777
  box "", 325, 150 138 14 13, tab 777
  box "", 326, 6 135 164 19, tab 777
  box "", 327, 39 160 14 13, tab 777
  box "", 328, 58 160 14 13, tab 777
  box "", 329, 150 160 14 13, tab 777
  box "", 330, 6 157 164 19, tab 777
  box "", 331, 150 182 14 13, tab 777
  box "", 332, 58 182 14 13, tab 777
  box "", 333, 39 182 14 13, tab 777
  box "", 334, 6 179 164 19, tab 777
  box "", 335, 150 79 14 13, tab 777
  box "", 336, 58 79 14 13, tab 777
  box "", 337, 39 79 14 13, tab 777
  box "", 338, 6 75 164 35, tab 777
  box "", 339, 9 94 25 12, tab 777
  box "", 340, 38 94 25 12, tab 777
  box "", 341, 127 94 18 12, tab 777
  box "", 342, 148 94 18 12, tab 777
  box "Bot", 343, 6 15 164 22, tab 777
  box "", 344, 13 20 17 12, tab 777
  box "Protections kicks", 345, 6 40 164 22, tab 777
  box "", 346, 49 45 14 13, tab 777
  box "", 347, 67 45 14 13, tab 777
  box "", 348, 127 45 14 13, tab 777
  box "", 349, 145 45 14 13, tab 777
  box "kicks", 350, 2 67 172 135, tab 777
  box "", 351, 37 20 26 12, tab 777
  box "", 352, 73 20 26 12, tab 777
  box "", 353, 39 116 14 13, tab 777
  tab "nickserv", 888
  text "enregistrer pseudo", 125, 65 15 47 7, tab 888 center
  text "passe?", 126, 24 29 20 7, tab 888 center
  text "mail?", 127, 137 29 13 7, tab 888 center
  text "ok", 128, 83 38 10 7, tab 888 center
  text "identifieur automatique", 129, 59 60 57 7, tab 888 center
  text "KILL", 130, 29 71 10 7, tab 888 center
  text "on", 131, 10 71 8 7, tab 888 center
  text "off", 132, 50 71 8 7, tab 888 center
  text "SECURE", 133, 134 71 19 7, tab 888
  text "on", 134, 120 71 8 7, tab 888 center
  text "off", 135, 160 71 8 7, tab 888 center
  text "ok", 136, 83 80 10 7, tab 888 center
  text "ajouter ce nick au groupe", 137, 56 104 64 7, tab 888 center
  text "à nickserv", 138, 75 68 28 7, tab 888 center
  text "ok", 139, 84 126 8 7, tab 888 center
  text "LIST", 140, 19 113 15 7, tab 888 center
  text "l'effacer", 141, 139 113 21 7, tab 888 center
  text "pseudo de connection par defaut", 266, 47 149 82 7, tab 888 center
  text "changer", 415, 76 171 25 7, tab 888 center
  edit "", 237, 56 23 65 10, tab 888 center
  edit "", 238, 8 37 50 10, tab 888 center
  edit "", 239, 117 37 50 10, tab 888 multi hsbar 
  edit "", 240, 58 112 60 10, tab 888 center
  edit "", 278, 56 157 65 10, tab 888 center
  box "", 354, 81 75 14 14, tab 888
  box "", 355, 81 121 14 14, tab 888
  box "", 356, 13 109 25 13, tab 888
  box "", 357, 136 109 25 13, tab 888
  box "", 358, 7 67 13 13, tab 888
  box "", 359, 47 67 13 13, tab 888
  box "", 360, 117 67 13 13, tab 888
  box "", 361, 157 67 13 13, tab 888
  box "", 362, 22 66 23 15, tab 888
  box "", 363, 132 66 23 15, tab 888
  box "", 364, 4 11 169 40, tab 888
  box "", 365, 4 55 169 40, tab 888
  box "", 366, 4 99 169 40, tab 888
  box "", 367, 81 33 14 14, tab 888
  box "", 416, 4 143 169 40, tab 888
  box "", 417, 74 166 29 14, tab 888
  tab "modes", 999
  text "c", 142, 25 36 5 7, tab 999 center
  text "ok", 143, 36 36 8 7, tab 999 center
  text "m", 144, 25 49 6 7, tab 999 center
  text "n", 145, 25 62 6 7, tab 999 center
  text "ok", 146, 36 49 8 7, tab 999 center
  text "ok", 147, 36 62 8 7, tab 999 center
  text "( + / - )", 148, 73 22 25 7, tab 999 center
  text "p", 149, 25 75 7 7, tab 999 center
  text "ok", 150, 36 75 8 7, tab 999 center
  text "r", 151, 25 88 6 7, tab 999 center
  text "ok", 152, 36 88 8 7, tab 999 center
  text "s", 153, 25 101 5 7, tab 999 center
  text "t", 154, 25 114 5 7, tab 999 center
  text "Z", 155, 82 36 5 7, tab 999 center
  text "A", 156, 82 49 5 7, tab 999 center
  text "C", 157, 82 62 5 7, tab 999 center
  text "G", 158, 82 75 5 7, tab 999 center
  text "M", 159, 82 88 5 7, tab 999 center
  text "K", 160, 82 101 5 7, tab 999 center
  text "N", 161, 139 36 5 7, tab 999 center
  text "O", 162, 139 49 5 7, tab 999 center
  text "Q", 163, 139 62 5 7, tab 999 center
  text "S", 164, 139 75 5 7, tab 999 center
  text "T", 165, 139 88 5 7, tab 999 center
  text "V", 166, 139 101 5 7, tab 999 center
  text "u", 167, 139 114 5 7, tab 999 center
  text "f", 183, 21 144 5 7, tab 999 center
  text "j", 184, 99 144 6 7, tab 999 center
  text "L", 185, 47 172 5 7, tab 999 center
  text "ok", 168, 36 101 8 7, tab 999 center
  text "ok", 169, 36 114 8 7, tab 999 center
  text "ok", 170, 93 36 8 7, tab 999 center
  text "ok", 171, 93 49 8 7, tab 999 center
  text "ok", 172, 93 62 8 7, tab 999 center
  text "ok", 173, 93 75 8 7, tab 999 center
  text "ok", 174, 93 88 8 7, tab 999 center
  text "ok", 175, 93 101 8 7, tab 999 center
  text "ok", 176, 150 36 8 7, tab 999 center
  text "ok", 177, 150 49 8 7, tab 999 center
  text "ok", 178, 150 61 8 7, tab 999 center
  text "ok", 179, 150 75 8 7, tab 999 center
  text "ok", 180, 150 88 8 7, tab 999 center
  text "ok", 181, 150 101 8 7, tab 999 center
  text "ok", 182, 150 114 8 7, tab 999 center
  text "nombres + secondes", 186, 61 131 55 7, tab 999 center
  text ":", 187, 40 143 3 7, tab 999 center
  text "ok", 188, 60 143 8 7, tab 999 center
  text ":", 189, 120 143 3 7, tab 999 center
  text "ok", 190, 142 143 8 7, tab 999 center
  text "ok", 191, 128 172 8 7, tab 999 center
  text "linker avec ce chan", 192, 64 162 48 7, tab 999 center
  text "", 423, 60 116 55 8, tab 999 center
  edit "", 241, 12 48 10 10, tab 999 center
  edit "", 242, 12 61 10 10, tab 999 center
  edit "", 243, 12 74 10 10, tab 999 center
  edit "", 244, 12 87 10 10, tab 999 center
  edit "", 245, 12 100 10 10, tab 999 center
  edit "", 246, 12 113 10 10, tab 999 center
  edit "", 247, 69 35 10 10, tab 999 center
  edit "", 248, 69 48 10 10, tab 999 center
  edit "", 249, 69 61 10 10, tab 999 center
  edit "", 250, 69 74 10 10, tab 999 center
  edit "", 251, 69 87 10 10, tab 999 center
  edit "", 252, 69 100 10 10, tab 999 center
  edit "", 253, 126 35 10 10, tab 999 center
  edit "", 254, 126 48 10 10, tab 999 center
  edit "", 255, 126 61 10 10, tab 999 center
  edit "", 256, 126 74 10 10, tab 999 center
  edit "", 257, 126 87 10 10, tab 999 center
  edit "", 258, 126 100 10 10, tab 999 center
  edit "", 259, 126 113 10 10, tab 999 center
  edit "", 260, 29 142 10 10, tab 999 center
  edit "", 261, 44 142 10 10, tab 999 center
  edit "", 262, 108 142 10 10, tab 999
  edit "", 263, 124 142 10 10, tab 999
  edit "", 264, 56 171 65 10, tab 999 center
  edit "", 265, 12 35 10 10, tab 999 center
  box "", 368, 33 32 13 13, tab 999
  box "", 369, 33 71 13 13, tab 999
  box "", 370, 33 45 13 13, tab 999
  box "", 371, 33 58 13 13, tab 999
  box "", 372, 33 97 13 13, tab 999
  box "", 373, 33 110 13 13, tab 999
  box "", 374, 90 32 13 13, tab 999
  box "", 375, 90 45 13 13, tab 999
  box "", 376, 90 58 13 13, tab 999
  box "", 377, 90 71 13 13, tab 999
  box "", 378, 90 84 13 13, tab 999
  box "", 379, 90 97 13 13, tab 999
  box "", 380, 147 32 13 13, tab 999
  box "", 381, 147 45 13 13, tab 999
  box "", 382, 147 57 13 13, tab 999
  box "", 383, 147 71 13 13, tab 999
  box "", 384, 147 84 13 13, tab 999
  box "", 385, 147 97 13 13, tab 999
  box "", 386, 147 110 13 13, tab 999
  box "", 387, 57 139 13 13, tab 999
  box "", 388, 139 139 13 13, tab 999
  box "", 389, 125 168 13 13, tab 999
  box "", 390, 14 126 149 32, tab 999
  box "", 391, 5 15 166 175, tab 999
  box "", 392, 33 84 13 13, tab 999
  link "?", 395, 162 194 4 8, tab 999
  menu "Xop", 1
  item "on", 2, 1
  item "off", 436, 1
  menu "Secure Op", 396
  item "on", 397, 396
  item "off", 398, 396
  menu "Topic", 399
  menu "Lock", 400, 399
  item "on", 401, 400
  item "off", 402, 400
  menu "Memoriser", 403, 399
  item "on", 404, 403
  item "off", 405, 403
  menu "infos", 406
  item "infos", 424, 406
  item "infos all", 425, 406
  menu "clear", 407
  item "modes", 408, 407
  item "bans", 409, 407
  item "excepts", 410, 407
  item "ops (massdeop)", 411, 407
  item "hops (massdehalfop)", 412, 407
  item "voices (massdevoice)", 413, 407
  item "users (masskick)", 414, 407
  menu "ban type", 418
  item "0: *!user@host", 419, 418
  item "1: *!*user@host", 420, 418
  item "2: *!*@host", 421, 418
  item "3: *!*user@*.domain", 422, 418
}
on *:dialog:megachanserv:*:*:{ 
  if ($devent == init) {
    dll mdx.dll SetMircVersion $version
    dll mdx.dll MarkDialog $dname
    dll mdx.dll SetDialog $dname bgcolor 15588041 
    dll mdx.dll SetColor $dname 3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,266,415,423,427 textbg 15588041 
    dll mdx.dll SetColor $dname 3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,266,415,423,427 text 16744576 
    dll mdx.dll SetColor $dname 3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,266,267,268,269,270,271,272,273,274,275,276,277,313,314,343,345,350,415,423,427 background 15588041 
    dll mdx.dll SetDialog $dname style noborder 
    did -a $dname 193 $active
    did -a $dname 195 %pswchan
    did -a $dname 198 %url
    did -a $dname 199 %welcome
    did -a $dname 78 $active 
    did -a $dname 237,240 $me
    did -a $dname 423 $active
    listing
  }
  elseif ($devent == sclick) {
    if ($dialog($dname).tab == 444) {
      if ($mouse.x isnum 105-168 && $mouse.y isnum 117-128) {
        cs register $did($dname,193) $did($dname,195) $did($dname,197)
        set %chanpass $did($dname,195)
      }
      if ($mouse.x isnum 188-252 && $mouse.y isnum 117-128) cs DROP $did($dname,193) 
      if ($mouse.x isnum 255-310 && $mouse.y isnum 145-160) { cs set $active password $did($dname,194)
        set %pswchan $did($dname,194)
      }
      if ($mouse.x isnum 140-210 && $mouse.y isnum 230-240) cs sendpass $active $did($dname,196)
      if ($mouse.x isnum 140-210 && $mouse.y isnum 295-305) {
        cs set $active url $did($dname,198)
        set %url $did($dname,198)
      }
      if ($mouse.x isnum 145-210 && $mouse.y isnum 360-370) {
        cs set $active entrymsg $did($dname,199)
        set %msg $did($dname,199)
      }
      if ($mouse.x isnum 135-215 && $mouse.y isnum 390-405) dialog -x megachanserv
    }
    if ($dialog($dname).tab == 555) { 
      if ($did = 426) cs levels $active list
      if ($mouse.x isnum 130-150) {
        var %y = 80-95 100-115 120-135 140-155 160-175 180-195 200-215 220-235 240-255 260-275 280-295 300-315 320-335 340-355
        var %y1 = AUTODEOP $did($dname,200) \ AUTOHALFOP $did($dname,201) \ AUTOOP $did($dname,202) \ AUTOPROTECT $did($dname,203) \ AUTOVOICE $did($dname,204) \ ACC-LIST $did($dname,205) \ ACC-CHANGE $did($dname,206) \ AKICK $did($dname,207) \ SET $did($dname,208) \ BAN $did($dname,209) \ CLEAR $did($dname,210) \ HALFOP $did($dname,211) \ HALFOPME $did($dname,212) \ SIGNKICK $did($dname,213)
        var %cmd = cs levels $active set 
        var %a = $numtok(%y,32)
        while (%a) {
          if ($mouse.y isnum $token(%y,%a,32)) { %cmd $token(%y1,%a,92) | break }
          dec %a
        }
      }
      if ($mouse.x isnum 305-330) {
        var %y = 80-95 100-115 120-135 140-155 160-175 180-195 200-215 220-235 240-255 260-275 280-295 300-315 320-335 340-355
        var %y1 = KICK $did($dname,214) \ OPDEOP $did($dname,215) \ OPDEOPME $did($dname,216) \ PROTECT $did($dname,217) \ PROTECTME $did($dname,218) \ TOPIC $did($dname,219) \ UNBAN $did($dname,220) \ VOICE $did($dname,221) \ VOICEME $did($dname,222) \ ASSIGN $did($dname,223) \ BADWORDS $did($dname,224) \ GREET $did($dname,225) \ NOKICK $did($dname,226) \ SAY $did($dname,227)
        var %cmd = cs levels $active set 
        var %a = $numtok(%y,32)
        while (%a) {
          if ($mouse.y isnum $token(%y,%a,32)) { %cmd $token(%y1,%a,92) | break }
          dec %a
        }
      }
    }
    if ($dialog($dname).tab == 666) {
      if ($did(394).seltext) {
        did -ra $dname 228,229 $did(394).seltext 
      }
      if ($mouse.x isnum 50-95 && $mouse.y isnum 360-380) listing
      if ($mouse.x isnum 160-188 && $mouse.y isnum 70-90) {
        cs access $active ADD $did($dname,228) 5 
        mode $active +o-a $did($dname,228) $did($dname,228)
      }
      if ($mouse.x isnum 198-225 && $mouse.y isnum 70-90) {
        cs access $active ADD $did($dname,228) 4 
        mode $active +h-ao $did($dname,228) $did($dname,228) $did($dname,228)
      }
      if ($mouse.x isnum 235-260 && $mouse.y isnum 70-90) {
        cs access $active ADD $did($dname,228) 3
        mode $active +v-aoh $did($dname,228) $did($dname,228) $did($dname,228) $did($dname,228)
      }
      if ($mouse.x isnum 270-295 && $mouse.y isnum 70-90) {
        cs access $active DEL $did($dname,228) 
        mode $active -vaoh $did($dname,228) $did($dname,228) $did($dname,228) $did($dname,228)
      }
      if ($mouse.x isnum 305-330 && $mouse.y isnum 70-90) cs access $active list
      if ($mouse.x isnum 175-220 && $mouse.y isnum 162-180) cs akick $active add $did($dname,229)
      if ($mouse.x isnum 225-270 && $mouse.y isnum 162-180) cs akick $active del $did($dname,229)
      if ($mouse.x isnum 280-320 && $mouse.y isnum 162-180) cs akick $active list
      if ($did = 429) echo -a 12Attention le mode Xop du channel doit être sur off pour que la gestion des acces fonctionne.
    }
    if ($dialog($dname).tab == 777) {
      if ($mouse.x isnum 25-60 && $mouse.y isnum 48-65) bs BOTLIST
      if ($mouse.x isnum 75-127 && $mouse.y isnum 48-65) bs ASSIGN $active $did($dname,236)
      if ($mouse.x isnum 145-198 && $mouse.y isnum 48-65) bs UNASSIGN $active
      if ($mouse.x isnum 100-125 && $mouse.y isnum 98-118) bs SET $active DONTKICKOPS ON
      if ($mouse.x isnum 135-163 && $mouse.y isnum 98-118) bs SET $active DONTKICKOPS OFF
      if ($mouse.x isnum 255-280 && $mouse.y isnum 98-118) bs SET $active DONTKICKVOICES ON
      if ($mouse.x isnum 292-320 && $mouse.y isnum 98-118) bs SET $active DONTKICKVOICES OFF
      if ($mouse.x isnum 80-105 && $mouse.y isnum 165-185) bs KICK $active BADWORDS ON
      if ($mouse.x isnum 115-145 && $mouse.y isnum 165-185) bs KICK $active BADWORDS OFF
      if ($mouse.x isnum 303-330 && $mouse.y isnum 165-185) bs KICK $active BADWORDS ON $did($dname,234)
      if ($mouse.x isnum 20-68 && $mouse.y isnum 195-213) bs BADWORDS $active ADD $did($dname,235)
      if ($mouse.x isnum 75-127 && $mouse.y isnum 195-213) bs BADWORDS $active DEL $did($dname,235)
      if ($mouse.x isnum 255-290 && $mouse.y isnum 195-213) bs BADWORDS $active LIST
      if ($mouse.x isnum 295-332 && $mouse.y isnum 195-213) bs BADWORDS $active CLEAR
      if ($mouse.x isnum 80-105 && $mouse.y isnum 240-260) bs KICK $active FLOOD ON
      if ($mouse.x isnum 115-145 && $mouse.y isnum 240-260) bs KICK $active FLOOD OFF
      if ($mouse.x isnum 303-330 && $mouse.y isnum 240-260) bs KICK $active FLOOD ON $did($dname,230)
      if ($mouse.x isnum 80-105 && $mouse.y isnum 285-302) bs KICK $active CAPS ON
      if ($mouse.x isnum 115-145 && $mouse.y isnum 285-302) bs KICK $active CAPS OFF
      if ($mouse.x isnum 303-330 && $mouse.y isnum 285-302) bs KICK $active CAPS ON $did($dname,231)
      if ($mouse.x isnum 80-105 && $mouse.y isnum 330-345) bs KICK $active REPEAT ON
      if ($mouse.x isnum 115-145 && $mouse.y isnum 330-345) bs KICK $active REPEAT OFF
      if ($mouse.x isnum 303-330 && $mouse.y isnum 330-345) bs KICK $active REPEAT ON $did($dname,232)
      if ($mouse.x isnum 80-105 && $mouse.y isnum 375-390) bs KICK $active BOLDS ON
      if ($mouse.x isnum 115-145 && $mouse.y isnum 375-390) bs KICK $active BOLDS OFF
      if ($mouse.x isnum 303-330 && $mouse.y isnum 375-390) bs KICK $active BOLDS ON $did($dname,233)
    }
    if ($dialog($dname).tab == 888) {
      if ($mouse.x isnum 163-190 && $mouse.y isnum 73-95) ns register $did($dname,238) $did($dname,239)
      if ($mouse.x isnum 15-40 && $mouse.y isnum 143-160) ns set kill on
      if ($mouse.x isnum 95-120 && $mouse.y isnum 143-160) ns set kill off
      if ($mouse.x isnum 237-260 && $mouse.y isnum 143-160) ns set secure on
      if ($mouse.x isnum 317-340 && $mouse.y isnum 143-160) ns set secure off
      if ($mouse.x isnum 162-190 && $mouse.y isnum 160-178) {
        set %autonickserv $me
        echo -a 12Identifieur automatique à Nickserv: ok
      }
      if ($mouse.x isnum 25-75 && $mouse.y isnum 225-245) msg nickserv glist 
      if ($mouse.x isnum 272-323 && $mouse.y isnum 225-245) msg nickserv drop $did($dname,240)
      if ($mouse.x isnum 163-190 && $mouse.y isnum 250-270) msg nickserv group %me %pswd
      if ($mouse.x isnum 150-205 && $mouse.y isnum 340-360) {
        set %me $did($dname,278)
        echo -a 12OK
      }
    }
    if ($dialog($dname).tab == 999) {
      if ($mouse.x isnum 115-140 && $mouse.y isnum 285-305) mode $active +f $did($dname,260) $+ : $+ $did($dname,261)
      if ($mouse.x isnum 280-305 && $mouse.y isnum 285-305) mode $active +j $did($dname,262) $+ : $+ $did($dname,263)
      if ($mouse.x isnum 252-277 && $mouse.y isnum 345-363) mode $active +L $did($dname,264) 
      if ($mouse.x isnum 68-92) {
        var %y = 72-90 100-117 125-142 150-167 175-194 202-220 230-245
        var %y1 = $did($dname,265) $+ c \ $did($dname,241) $+ m \ $did($dname,242) $+ n \ $did($dname,243) $+ p \ $did($dname,244) $+ r \ $did($dname,245) $+ s \ $did($dname,246) $+ t
        var %cmd = mode $active
        var %a = $numtok(%y,32)
        while (%a) {
          if ($mouse.y isnum $token(%y,%a,32)) { %cmd $token(%y1,%a,92) | break }
          dec %a
        }
      }
      if ($mouse.x isnum 180-205) {
        var %y = 72-90 100-117 125-142 150-167 175-194 202-220
        var %y1 = $did($dname,267) $+ Z \ $did($dname,248) $+ A \ $did($dname,249) $+ C \ $did($dname,250) $+ G \ $did($dname,251) $+ M \ $did($dname,252) $+ K
        var %cmd = mode $active
        var %a = $numtok(%y,32)
        while (%a) {
          if ($mouse.y isnum $token(%y,%a,32)) { %cmd $token(%y1,%a,92) | break }
          dec %a
        }
      }
      if ($mouse.x isnum 295-320) {
        var %y = 72-90 100-117 125-142 150-167 175-194 202-220 230-245
        var %y1 = $did($dname,253) $+ N \ $did($dname,254) $+ O \ $did($dname,255) $+ Q \ $did($dname,256) $+ S \ $did($dname,257) $+ T \ $did($dname,258) $+ V \ $did($dname,259) $+ u
        var %cmd = mode $active
        var %a = $numtok(%y,32)
        while (%a) {
          if ($mouse.y isnum $token(%y,%a,32)) { %cmd $token(%y1,%a,92) | break }
          dec %a
        }
      }
      if ($did = 395) {
        echo -a 12c = Bloque les messages contenant des codes couleurs mIRC, ne les envoie pas. [o]
        echo -a 12f <paramsflood> = Protection contre le Flood [o]
        echo -a 12i = Un utilisateur doit être invité pour rejoindre le salon [h]
        echo -a 12j <joins:sec> = Limite le nombre de joins par utilisateur à 'joins' par 'sec' secondes [o]
        echo -a 12k <clé> = Les utilisateurs doivent spécifier une <clé> ( un mot de passe ) pour joindre le salon. Ils devront écrire /join #nomdusalon motdepasse pour joindre le salon. [h]
        echo -a 12l <nombre maximum d'utilisateurs> = Le salon peut accueillir au maximum <nombre> utilisateurs [o]
        echo -a 12m = Salon modéré (seuls les utilisateurs +vhoaq peuvent parler) [h]
        echo -a 12 n = Les utilisateurs hors du salon ne peuvent envoyer de PRIVMSGs au salon [h]
        echo -a 12p = Salon privé ( pareil que salon en +s ) [o]
        echo -a 12r = Le salon est enregistré (applicable par les services uniquement)
        echo -a 12s = Salon secret ( pareil que salon en +p ) [o]
        echo -a 12t = Seuls les +hoaq peuvent changer le topic [h]
        echo -a 12z = Seuls les clients avec une connexion sécurisés (SSL) peuvent rejoindre [o]
        echo -a 12A = Salon réservé aux Server/Net Admin (applicable par les Admins)
        echo -a 12C = CTCPs non autorisés sur le salon [o]
        echo -a 12G = Remplace tous les 'Bad words' dans les messages par <censored> [o]
        echo -a 12M = Doit utiliser un pseudo enregistré (+r), ou avoir un access voice pour parler [o]
        echo -a 12K = /KNOCK n'est pas autorisé [o]
        echo -a 12L <salon2> = Salon lié (Si le +l est atteint, l'utilisateur suivant sera forcé de rejoindre le chan <salon2>) [q]
        echo -a 12N = Aucun changement de pseudo n'est autorisé sur le salon [o]
        echo -a 12O = Salon réservé aux IRC Operator (applicables par les IRCops)
        echo -a 12Q = Aucun kick n'est autorisé [o]
        echo -a 12R = Seuls les utilisateurs enregistrés (+r), dont leur pseudo est enregistré, peuvent rejoindre le salon [o]
        echo -a 12S = Filtre les codes couleurs mIRC [o]
        echo -a 12T = Aucune NOTICE n'est autorisée sur le salon [o]
        echo -a 12V = /INVITE n'est pas autorisée [o]
        echo -a 12u = Mode auditorium (/names et /who #salon montrent uniquement les opérateurs du salon) [q]

        echo -a 4[h] signifie que les half-ops et ops peuvent mettre ce mode et [o] signifie que les ops seulement peuvent mettre ce mode.
      }
    }
  }
  elseif ($devent == menu) {
    if ($did = 2) cs SET $active XOP on
    if ($did = 436) cs SET $active XOP off
    if ($did = 397) cs SET $active SECUREOPS on
    if ($did = 398) cs SET $active SECUREOPS off
    if ($did = 401) cs SET $active TOPICLOCK on
    if ($did = 402) cs SET $active TOPICLOCK off
    if ($did = 404) cs SET $active KEEPTOPIC on
    if ($did = 405) cs SET $active KEEPTOPIC off
    if ($did = 424) cs info $active 
    if ($did = 425) cs info $active all
    if ($did = 408) cs clear $active modes
    if ($did = 409) cs clear $active BANS
    if ($did = 410) cs clear $active EXCEPTS
    if ($did = 411) cs clear $active OPS
    if ($did = 412) cs clear $active HOPS
    if ($did = 413) cs clear $active VOICES
    if ($did = 414) cs clear $active USERS
    if ($did = 419) cs set $active BANTYPE 0
    if ($did = 420) cs set $active BANTYPE 1
    if ($did = 421) cs set $active BANTYPE 2
    if ($did = 423) cs set $active BANTYPE 3
  }
}
alias listing {
  did -r $dname 394
  set %total.nick $nick($active,0)
  set %x 1
  while (%x <= %total.nick) {
    did -a $dname 394 $nick($active,%x)
    inc %x 1
  }
  did -a $dname 78 $active - %total.nick users
}
on *:start:{
  nick %me
}
on *:connect:{
  if (%autonickserv) { msg nickserv identify %autonickserv }
}
menu channel {
  -
  megachanserv: dialog -m megachanserv megachanserv
}
alias cs msg chanserv $$1-
alias bs msg botserv $$1-
alias ns msg chanserv $$1-
alias megachanserv { dialog -m megachanserv megachanserv }

Conclusion :


possibilité de mise à jour selon les propositions interessantes.
Pour voir le screen complet des options de ce dialogue : http://lebaronrouge1.free.fr/lol/megachanserv.htm

Codes Sources

A voir également

Ajouter un commentaire Commentaires
loulouzou
Messages postés
58
Date d'inscription
mercredi 21 novembre 2007
Statut
Membre
Dernière intervention
7 mars 2009

6 mars 2009 à 10:33
slt merci pour ce script,
des une MaJ serait la bienvenue aller @+
cs_lebaronrouge
Messages postés
288
Date d'inscription
lundi 8 mars 2004
Statut
Membre
Dernière intervention
14 février 2009

16 févr. 2007 à 13:30
debug et tagx toi y'en a me parler chinois la mdr ^^'
cs_wims
Messages postés
2466
Date d'inscription
vendredi 23 juillet 2004
Statut
Membre
Dernière intervention
1 août 2010
1
15 févr. 2007 à 18:20
Non cela n'a aucun rapport, le code fais simplement ce que tu lui dis de faire tu sais... tu as essayé de debug ?
Sinon essaye de tagx le code que tu essayes de faire marcher.
cs_lebaronrouge
Messages postés
288
Date d'inscription
lundi 8 mars 2004
Statut
Membre
Dernière intervention
14 février 2009

15 févr. 2007 à 18:17
je pense que ca doit venir du fait que la valeur x et y on un ordre a respecter , on ne peut pas les inverser surement...
cs_wims
Messages postés
2466
Date d'inscription
vendredi 23 juillet 2004
Statut
Membre
Dernière intervention
1 août 2010
1
14 févr. 2007 à 19:33
Met des echos pour voir ou ca ne passe pas, qu'est ce qui ne fonctionne pas, tu as des erreurs ? Je ne vois pas d'erreur le if de la while est il validé ? En debuggant, tu vas vite trouver tout seul d'ou viens l'erreur ( relou les erreurs du site )
Afficher les 30 commentaires

Vous n'êtes pas encore membre ?

inscrivez-vous, c'est gratuit et ça prend moins d'une minute !

Les membres obtiennent plus de réponses que les utilisateurs anonymes.

Le fait d'être membre vous permet d'avoir un suivi détaillé de vos demandes et codes sources.

Le fait d'être membre vous permet d'avoir des options supplémentaires.