Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- proc cr_putx {pri text} {
- if { string match "*German*" $text == 1 }
- set text "\002\00304$text\003\002"
- switch $pri {
- 1 {putquick $text}
- 2 {putserv $text}
- 3 {puthelp $text}
- default {putlog "ERROR: Wrong priority ($pri) for message '$text'"}
- }
- else {
- switch $pri {
- 1 {putquick $text}
- 2 {putserv $text}
- 3 {puthelp $text}
- default {putlog "ERROR: Wrong priority ($pri) for message '$text'"}
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement