Advertisement
Guest User

Untitled

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