Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. proc cr_putx {pri text} {
  2. if { string match "*German*" $text == 1 }
  3. {
  4. set text "\002\00304$text\003\002"
  5. switch $pri {
  6. 1 {putquick $text}
  7. 2 {putserv $text}
  8. 3 {puthelp $text}
  9. default {putlog "ERROR: Wrong priority ($pri) for message '$text'"}
  10. }
  11. }
  12. else {
  13. switch $pri {
  14. 1 {putquick $text}
  15. 2 {putserv $text}
  16. 3 {puthelp $text}
  17. default {putlog "ERROR: Wrong priority ($pri) for message '$text'"}
  18. }
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement