TopicEngineSettings.tcl 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. ## TopicEngine settings file
  2. #####
  3. # Settings you can change
  4. #
  5. # Channels the script applies to:
  6. #set topicChannels [list "#molsoft" "#ags" "#exeter"]
  7. #
  8. # Maximum topic length for the network
  9. #
  10. # 80 is the safest setting for IRCNet, 120 and 160 are common (watch out for
  11. # truncation though)
  12. # 120 is typical on EFNet
  13. set topicLengthLimit 120
  14. #
  15. # Announce a topic being reset after a split? (0/1)
  16. set topicAnnounceReset 1
  17. #
  18. # This is the char (or several chars) that separate a topic. A space will go each side of this string.
  19. set topicSeparator "|"
  20. #
  21. # Respond to "!topic info" in the chan or in notice (just to the user to did it)
  22. # 1 = channel, 0 = notice
  23. set topicInfoBroadcast 1
  24. #DO NOT REMOVE THIS LINE:
  25. if {$topicEngineLoad == 1} {
  26. # HOW TO USE:
  27. # (please also read the readme file)
  28. #
  29. # set values for channels in here, like this:
  30. #
  31. # set topicInfo(#channel,setting) <value>
  32. #
  33. # setting value(s) Default
  34. # ------- -------- -------
  35. #
  36. # leadIn Default prefix for topic (blank)
  37. # leadOut Default postfix (blank)
  38. # NO! needOChan 1 = user needs |+o to use 1
  39. # needVChan 1 = user needs |+v to use 1
  40. # needOGlobal 1 = user needs +o to use 0
  41. # needVGlobal 1 = user needs +v to use 0
  42. # needOMode 1 = user must be @ in chan 0
  43. # needVMode 1 = user must be + in chan 0
  44. # Tflag 1 = any +T user can use (and U can't) 1
  45. # topicBits [list "topicBit1" "topicBit2" ...] (empty list)
  46. # learnOnChange 1 = learn topic on change (and join) 1
  47. #
  48. # Do not set other settings in the topicInfo array.
  49. #
  50. # e.g to set the default topic for #lamest to be "www.lamest.net | pop | frogs"
  51. # where the URL is a prefix, do this:
  52. #
  53. # set topicInfo(#lamest,leadIn) "www.lamest.net"
  54. # set topicInfo(#lamest,topicBits) [list "pop" "frogs"]
  55. #
  56. #set topicInfo(#startrek,needVChan) 1
  57. set topicInfo(#startrek,leadIn) "http://utopia.planitia.net"
  58. set topicInfo(#startrek,canFlags) "o|o"
  59. #set topicInfo(#namcoarcade,needVChan) 0
  60. #set topicInfo(#exeter,needVChan) 1
  61. set topicInfo(#exeter,canFlags) "ov|ov"
  62. set topicInfo(#exeter,canModes) "ov"
  63. set topicInfo(#exeter,leadIn) "www.hashexeter.net"
  64. #set topicInfo(#ags,needVChan) 1
  65. set topicInfo(#exeter,canFlags) "ov|ov"
  66. set topicInfo(#exeter,canModes) "ov"
  67. set topicInfo(#molsoft,canFlags) "ov|ov"
  68. set topicInfo(#molsoft,canFlags) "o|o"
  69. set topicInfo(#molsoft,canModes) "o"
  70. #DO NOT REMOVE THIS BRACKET
  71. }