Advertisement
tryzonet

echo-scene

Jan 19th, 2023 (edited)
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. ######################################################
  2. # System.ECHO.v1.1.WiNDROP.TCL-RaW #
  3. ######################################################
  4. # Ligne :: 20 - 40 - 56 #
  5. ######################################################
  6.  
  7. ## CONFiGURATiON DU SCRiPTS
  8. setudef flag ECHO
  9. namespace eval sECHO {
  10. variable seVER "1.1";
  11.  
  12. variable seADD "!addpre";
  13. variable seGN "!gn";
  14. variable seiNFO "!info";
  15. variable seMNUKE "!modnuke";
  16. variable seNUKE "!nuke";
  17. variable seP2P "!addp2p";
  18. variable seUNNUKE "!unnuke";
  19.  
  20. variable seFiLTER "bluray" "\00347BluRay\0037"; <------- PAS SURE Si CORRECT**
  21.  
  22. variable chADD "#tRyzoPRED";
  23. variable chFiLTER "#tRyzoFiLTER";
  24. variable chiNFO "#tRyzoSPAM";
  25. variable chNUKE "#tRyzoNUKE";
  26. variable chP2P "#tRyzoP2PRE";
  27. }
  28.  
  29. ## CMD DiSPO
  30. bind pub -|- "${::sECHO::seADD}" ::sECHO::exec
  31.  
  32. ## CODE
  33. proc ::sECHO::exec { nick uhost hand chan arg} {
  34. if { [getuser ${nick} XTRA uauth] == 1 } {
  35. if { ![channel get ${chan} ECHO] } {
  36. set seMSG [format "L'utilisateur %s a tenter une *CMD* sur %s, mais le salon n'a pas les *flags*" ${nick} ${chan}]
  37. putlog ${seMSG}
  38. return -code error ${seMSG};
  39. } else {
  40. if { ${::sECHO::seADD} == ${::sECHO::seADD} <------- WEiRD** } { ::sECHO::execADD ${chan} ${arg} }
  41. }
  42. } else {
  43. set seMSG [format "uAUTH * YoOoOooOooo tes pas iDENTiFiER."]
  44. putnow "privmsg ${chan} ${seMSG}";
  45. }
  46. }
  47.  
  48. proc ::sECHO::execADD { chan arg } {
  49. set seArls [lindex ${arg} 0]
  50. set seAsec [lindex ${arg} 1]
  51. if { ${seAsec} == "" } {
  52. set seMSG [format "\002sECHO\002 * !addpre release section"]
  53. putnow "privmsg ${chan} ${seMSG}";
  54. return 0;
  55. } else {
  56. set seArls [string map -nocase [list ${::sECHO::seFiLTER} <------- PAS SURE Si CORRECT** ] ${seArls}]
  57. putnow "privmsg ${::sECHO::chADD} -ADDPRE- ${seArls} ${seAsec}";
  58. }
  59. }
  60.  
  61. ## COPYRiGHT TCL
  62. package provide sECHO ${::sECHO::seVER};
  63. putlog "-\002System ECHO\002 v${::sECHO::seVER}... chargement *TCL* avec \002SUCCESS\002.";
  64.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement