Advertisement
SpliftOn

cimer lol

Nov 22nd, 2015
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.81 KB | None | 0 0
  1. ;auto join au channel lorsque l'on est kicker
  2. On *:kick:*:{
  3. if ($knick == $me) { join # chan }
  4. }
  5.  
  6. ;auto unban, et un rejoin oto (marche pas tout a fais alors exuser moi je vai chercher sa )
  7. On *:ban:*:{
  8. if ($bnick == $me) { .msg chanserv unban # | .mode # -b $me | .timer 1 2 /join # }
  9. }
  10.  
  11. On *:input:*:{
  12.  
  13. ;op une personne si indiquer, sinon se oper
  14. if ($1 == .o) {
  15. if ($2 != $null) { .mode # +oooooooooooooooooooooooooo $2- }
  16. elseif ($2 == $null) { .msg chanserv op # $me }
  17. }
  18.  
  19. ;deop une personne si indiquer, sinon se deoper
  20. if ($1 == .do) {
  21. if ($2 != $null) { .mode # -ooooooooooooooooooooooooooo $2- }
  22. elseif ($2 == $null) { .msg chanserv deop # $me }
  23. }
  24.  
  25. ;se auth sur un chan dun chan
  26. if ($1 == .all) {
  27. .cs owner $chan $me | .cs protect $chan $me | .cs op $chan $me | .cs halfop $chan $me | .cs voice $chan $me $2- }
  28.  
  29. ;se deauth dun chan
  30. if ($1 == .dall) {
  31. .cs deowner $chan $me | .cs deprotect $chan $me | .cs deop $chan $me | .cs dehalfop $chan $me | .cs devoice $chan $me $2- }
  32.  
  33.  
  34. ;ses commandes fonctionnent comme !o, !do mais le mode change juste :)
  35. if ($1 == .a) {
  36. if ($2 != $null) { .mode # +aaaaaaaaaaaaaaaaaaaaaaaaaaaa $2- }
  37. elseif ($2 == $null) { .msg chanserv protect # $me }
  38. }
  39.  
  40. if ($1 == .da) {
  41. if ($2 != $null) { .mode # -aaaaaaaaaaaaaaaaaaaaaaaa $2- }
  42. elseif ($2 == $null) { .msg chanserv deprotect # $me }
  43. }
  44.  
  45. if ($1 == .h) {
  46. if ($2 != $null) { .mode # +hhhhhhhhhhhhhhhhhhhhhh $2- }
  47. elseif ($2 == $null) { .msg chanserv halfop # $me }
  48. }
  49. if ($1 == .dh) {
  50. if ($2 != $null) { .mode # -hhhhhhhhhhhhhhhhhhhh $2- }
  51. elseif ($2 == $null) { .msg chanserv dehalfop # $me }
  52. }
  53.  
  54. if ($1 == .v) {
  55. if ($2 != $null) { .mode # +vvvvvvvvvvvvvvvvvv $2- }
  56. elseif ($2 == $null) { .msg chanserv voice # $me }
  57. }
  58.  
  59. if ($1 == .dv) {
  60. if ($2 != $null) { .mode # -vvvvvvvvvvvvvvvvvvvvvvvvvvvvv $2- }
  61. elseif ($2 == $null) { .msg chanserv devoice # $me }
  62. }
  63.  
  64. if ($1 == .q) {
  65. if ($2 != $null) { .mode # +qqqqqqqqqqqqqqqqqqqqqqqqqq $2- }
  66. elseif ($2 == $null) { .msg chanserv owner # }
  67. }
  68.  
  69. if ($1 == .dq) {
  70. if ($2 != $null) { .mode # -qqqqqqqqqqqqqqqqqqqqqqqqqq $2- }
  71. elseif ($2 == $null) { .msg chanserv deowner # }
  72. }
  73.  
  74. ;aop - sop - hop mettre ces acces si le mode xop est activé
  75. if ($1 == !acc) {
  76. .msg chanserv $2 $chan add $3
  77. }
  78.  
  79. ;aop - sop- hop enlever ces acces si le mode xop est activé
  80. if ($1 == !supr) {
  81. .msg chanserv $2 $chan del $3
  82. }
  83.  
  84. ;ajouter un access a une personne (si le mode xop est off) en tapan !axx pseudo level
  85. if ($1 == !axx) {
  86. .msg chanserv access # add $$2-
  87. }
  88.  
  89. ;supprime un access en tapand !del pseudo
  90. if ($1 == !del) {
  91. .msg chanserv access # del $$2-
  92. }
  93.  
  94. ;donne la liste des access du channel
  95. if ($1 == .liste) {
  96. .msg chanserv access # list
  97. }
  98.  
  99. ;donne les info du channel
  100. if ($1 == .info) {
  101. .msg chanserv info $chan all
  102. }
  103.  
  104. ;avoir le pass du channel si owner
  105. if ($1 == /pass) {
  106. .msg chanserv getpass $chan
  107. }
  108.  
  109. ;donne les info du nick
  110. if ($1 == .infonick) {
  111. .msg nickserv info $2 all
  112. }
  113.  
  114. ;drop le chan
  115. if ($1 == .dropchan) {
  116. .msg chanserv DROP # chan
  117. }
  118.  
  119. ;invite une personne
  120. if ($1 == .invite) {
  121. .invite $2 # chan
  122. }
  123.  
  124. ;met un topic .topic (le topic a mettre)
  125. if ($1 == .topic) {
  126. .msg chanserv topic # chan $2-
  127. }
  128.  
  129. ;enleve le mode xop du chan
  130. if ($1 == .xopof) {
  131. .msg chanserv set $chan xop off
  132. }
  133.  
  134. ;met le mode xop du chan
  135. if ($1 == .xopon) {
  136. .msg chanserv set $chan xop on
  137. }
  138. ;donne la liste des bot
  139. if ($1 == .bslist) {
  140. .msg botserv botlist
  141. }
  142.  
  143. ;assign un bot
  144. if ($1 == .assign) {
  145. .msg botserv assign $chan $$2
  146. }
  147.  
  148. ;unassign un bot
  149. if ($1 == .unassign) {
  150. .msg botserv unassign $chan $$2
  151. }
  152.  
  153. ;voir les option du botserv (.infobs nomdubot)
  154. if ($1 == .infobs) {
  155. .msg botserv info $chan $2 all
  156. }
  157.  
  158. ;faire parler le bot
  159. if ($1 == /talk) {
  160. bs SAY $chan $$2-
  161. }
  162.  
  163. ;fait hop
  164. if ($1 == , ) {
  165. /hop
  166. }
  167.  
  168.  
  169. ;kick une personne du canal
  170. if ($1 == !k) {
  171. echo -s Un kick :)
  172. if ($2 != $null) { .msg chanserv kick # $2- | .kick # $2- | !kick $2- }
  173. }
  174.  
  175. ;kick-ban une personne du canal
  176. if ($1 == !kb) {
  177. echo -s Un kick-ban :)
  178. if ($2 != $null) { .msg chanserv kick # $2- | .ban # $2- | !ban $2- }
  179. }
  180.  
  181. ;banni une personne d'un canal
  182. if ($1 == !b) {
  183. Echo -s un ban :)
  184. if ($2 != $null) { .msg chanserv ban # $2 | .mode # +bbbbb $2 }
  185. }
  186.  
  187. ;debanni une personne d'un canal si indiquer, sinon se debannir(seulement si l'on est op ^^)
  188. if ($1 == !db) {
  189. if ($me isop $chan) { .msg chanserv unban # $2 | .mode # -b $2 }
  190. if (($2 == $null) && ($me isop $chan)) { .msg chanserv unban # $2 | .mode # -bbbbb $2 }
  191. }
  192.  
  193. ;mettre le mode anti ban
  194. if ($1 == !+e) {
  195. if ($2 == $null) {
  196. mode # +ee $me $host
  197. }
  198. mode # +eeee $2-
  199. }
  200.  
  201. ;enlever le mode antiban
  202. if ($1 == !-e) {
  203. if ($2 == $null) {
  204. mode # -ee $me $host
  205. }
  206. if ($2 != $null) { mode # -eeee $2- }
  207. }
  208.  
  209. ;permet de faire !+ "vos modes"
  210. if ($1 == !+) {
  211. mode # + $+ $2-
  212. }
  213.  
  214. ;permet de faire !- "vos modes"
  215. if ($1 == !-) {
  216. mode # - $+ $2-
  217. }
  218.  
  219. ;cette commande permet de mettre votre pseudo ex: !nick"votre texte"
  220. if ($1 == !nick) {
  221. nick pseudo[ $+ $2- $+ ]
  222. }
  223.  
  224. ;grouper son pseudo avec un autre
  225. if ($1 == !group) {
  226. .msg nickserv group $$?="Pseudo avec ki grouper" $$?="mot de passe du pseudo?"
  227. }
  228.  
  229. ;lire ses derniers memos
  230. if ($1 == !read) {
  231. .msg memoserv read last
  232. }
  233.  
  234. ;supprimer un memo
  235. if ($1 == !delmemo) {
  236. .msg memoserv del $2-
  237. }
  238.  
  239. ;envoyé un memo (tapez juste !sendmemo)
  240. if ($1 == !sendmemo) {
  241. .msg memoserv send $$?="Pseudo a ki envoyé" $$?="message ?"
  242. }
  243.  
  244. if ($1 == .ch) {
  245. /say D'abord il faut joindre ton futur salon 7/join #TONSALON
  246. /say Pour enregistrer ton chan tapes : 7/msg chanserv register #ton-chan ton-pass Description
  247. /say Pour avoir la liste des bots disponibles tape : 7/msg botserv botlist
  248. /say Puis pour mettre un bot : 7/msg botserv assign #ton-chan Pseudo-du-bot
  249. }
  250.  
  251. if ($1 == .ra) {
  252. /say 7Voila les Raccourci Du Light'n_script
  253. /say 11lu,lut,nnn,pfff,mott,mf,yyy,niarf,mmm,dédé,momo
  254. /say 12 'ci,gg,urg,ooo,kiko,tlm,tdc,?,lol,arg,bj,bsr,bn,mlol
  255. /say 11 bap,okii,npb,brb,jk,mdr,ptdr,ment,fant!,!funbot,xdr,loll,^^
  256. /say 12 asv,cpm,cqd,mqfp,naner,dr,ck,ar,hihi,pala,npp,mouh,quest,tt
  257. }
  258. }
  259. On *:Load:{
  260. echo -a Vous avez bien charger la remotte de _cimer-lol_ pour Mia_ de DhcP
  261. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement