HowToAdd.txt 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ============================================================================================
  2. -= BLaCkShaDoW Production Presents =-
  3. BlackTools - The Ultimate Channel Control Script
  4. One TCL. One smart Eggdrop
  5. ============================================================================================
  6. The available languages are RO and EN.
  7. But you can easily add another language of your choice.
  8. The steps are:
  9. 1 - Create a tcl file in the lang folder with the name "BT.<lang>.lang.tcl"
  10. For example we add the language "French" , so we create the file -> "BT.fr.lang.tcl" <-
  11. 2 - Now you have to translate the text from other language file that is available..into you language file.
  12. Remember, in the file we have the variables : black(say.ro.gl.noban). Here we have
  13. to modify for the language added (for example french) and we will have : black(say.fr.gl.noban).
  14. 3 - Rehash your BOT
  15. 4 - Type in the chan .myset lang fr
  16. 5 - And There you are, the french language is ready
  17. 6 - If you want to set the french language as default open the BlackTools.tcl and you will have
  18. #Default language ( RO / EN )
  19. set black(default_lang) "RO"
  20. 7 - Set here
  21. set black(default_lang) "FR"
  22. Thats all folks :)
  23. ----------------------------------------------------------------------------------------------
  24. Copyright (c) 2008-2018 Daniel Voipan (aka BLaCkShaDoW).
  25. ----------------------------------------------------------------------------------------------