TinTin++ Configs for DiscworldMUD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.8 KiB

6 years ago
6 years ago
  1. #CLASS {channels} {kill};
  2. #CLASS {channels} {open};
  3. #VARIABLE {talker_log_toggle} {0};
  4. #FUNCTION {log_line_to_chat} {
  5. #script {ts} {date +"%I:%M%P"};
  6. #line {log} {$chat_file} {$ts[1] \};
  7. #line {log} {$chat_file}
  8. };
  9. #ACTION {^You {tell|ask|exclaim to} %1:%2} {#return @log_line_to_chat{};};
  10. #ACTION {^%1 {tells|asks|exclaims to} %*you{|(?: in \w+)?}: %4} {#return @log_line_to_chat{};};
  11. #ACTION {^[%1] %2{:|} %3} {#return @log_line_to_chat{};};
  12. #ACTION {^(They Might Be Alts) } {#return @log_line_to_chat{};};
  13. #ACTION {^(newbiehelpers)} {#return @log_line_to_chat{};};
  14. #ACTION {^You newbiehelper-tell:%1} {#return @log_line_to_chat{};};
  15. #ACTION {^(newbie)} {#return @log_line_to_chat{};};
  16. #ACTION {^You newbie-tell:%1} {#return @log_line_to_chat{};};
  17. #ACTION {^You special-tell:%1} {#return @log_line_to_chat{};};
  18. #ACTION {^You cre-tell:%1} {#return @log_line_to_chat{};};
  19. #ACTION {^(Playerkillers) %1 wisps{:|} %2} {
  20. #if {"$talker_log_toggle" == "1"} {
  21. #return @log_line_to_chat{};
  22. };
  23. };
  24. #ACTION {(>CTF<) %1} {
  25. #return @log_line_to_chat{};
  26. };
  27. #ACTION {%1Inform: %2} {
  28. #return @log_line_to_chat{};
  29. };
  30. #ACTION {^(Thieves) %1 wisps{:|} %2} {
  31. #if {"$talker_log_toggle" == "1"} {
  32. #return @log_line_to_chat{};
  33. };
  34. };
  35. #ACTION {^(Wizards) %1 wisps{:|} %2} {
  36. #if {"$talker_log_toggle" == "1"} {
  37. #return @log_line_to_chat{};
  38. };
  39. };
  40. #ACTION {^(Igame) %1 wisps{:|} %2} {
  41. #if {"$talker_log_toggle" == "1"} {
  42. #return @log_line_to_chat{};
  43. };
  44. };
  45. #ALIAS {talker log %1} {
  46. #if {"%1" == "on"} {
  47. #echo {<149>[Talker] Now logging talker chat to monitor.<099>};
  48. #var {talker_log_toggle} {1};
  49. };
  50. #if {"%1" == "off"} {
  51. #echo {<149>[Talker] No longer logging talker chat to monitor.<099>};
  52. #var {talker_log_toggle} {0};
  53. };
  54. };
  55. #CLASS {channels} {close};