Changeset 7279 for code/branches/consolecommands3
- Timestamp:
- Aug 31, 2010, 1:42:50 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/data/tcl/irk/lib/irkreceive.tcl
r5781 r7279 37 37 append state($token,ERRORS) "$nick $dest $rest\n" 38 38 # puts "Got ERROR: $token $nick ---> $dest: $rest" 39 orxonox::execute error "Got ERROR: $token $nick ---> $dest: $rest"39 ::orxonox::execute error "Got ERROR: $token $nick ---> $dest: $rest" 40 40 41 41 return "" … … 53 53 return "" 54 54 } 55 55 56 56 # This procedure deals with the WHOIS USER message: 57 57 … … 116 116 117 117 set state($token,ident,$unick,ident) 1 118 } 118 } 119 119 120 120 # This procedure deals with the WHOIS CONNECTTIME message: … … 249 249 if {[isus $token $nick]} { 250 250 # puts "You joined $dest" 251 orxonox::irc::info $token "You joined $dest"251 ::orxonox::irc::info $token "You joined $dest" 252 252 253 253 addChannel $token $dest 254 254 } else { 255 255 # puts "$nick joined $dest" 256 orxonox::irc::info $token "$nick joined $dest"256 ::orxonox::irc::info $token "$nick joined $dest" 257 257 258 258 addToChannel $token $nick $dest … … 271 271 if {[isus $token $nick]} { 272 272 # puts "You left channel $chan" 273 orxonox::irc::info $token "You left channel $chan"273 ::orxonox::irc::info $token "You left channel $chan" 274 274 } else { 275 275 # puts "$nick left [string tolower $dest]" 276 orxonox::irc::info $token "$nick left [string tolower $dest]"277 } 276 ::orxonox::irc::info $token "$nick left [string tolower $dest]" 277 } 278 278 removeFromChannel $token $nick $chan 279 279 removeFromChannel $token @$nick $chan … … 287 287 set rest [eval concat $rest] 288 288 # puts "$nick sets mode $dest $rest" 289 orxonox::irc::info "$nick $token sets mode $dest $rest"289 ::orxonox::irc::info "$nick $token sets mode $dest $rest" 290 290 291 291 return "" … … 313 313 314 314 # puts "$nick ${user} ($token) changes his/her nickname to $newnick" 315 orxonox::irc::info $token "$nick changes his/her nickname to $newnick"315 ::orxonox::irc::info $token "$nick changes his/her nickname to $newnick" 316 316 317 317 return "" … … 325 325 set rest [eval concat $rest] 326 326 # puts "Received QUIT $token $nick $rest" 327 orxonox::irc::info $token "Received QUIT $token $nick $rest"327 ::orxonox::irc::info $token "Received QUIT $token $nick $rest" 328 328 329 329 if {[string match ":*" $dest]} { … … 332 332 if {[isus $token $nick]} { 333 333 # puts "You left the server $state($token,host) ($dest $rest)" 334 orxonox::irc::info $token "You left the server $state($token,host) ($dest $rest)"334 ::orxonox::irc::info $token "You left the server $state($token,host) ($dest $rest)" 335 335 forgetConnection $token 336 336 } else { … … 352 352 } else { 353 353 # puts "$nick$dest: [eval concat $rest]" 354 orxonox::irc::say $token $nick [eval concat $rest]354 ::orxonox::irc::say $token $nick [eval concat $rest] 355 355 } 356 356 … … 426 426 } else { 427 427 # puts "$nick: [eval concat $rest]" 428 orxonox::irc::privmsg $nick $nick [eval concat $rest]428 ::orxonox::irc::privmsg $nick $nick [eval concat $rest] 429 429 } 430 430 … … 464 464 if {[isus $token $kicked]} { 465 465 # puts "$nick kicked you from $dest because $reason" 466 orxonox::irc::info $token "$nick kicked you from $dest because $reason"466 ::orxonox::irc::info $token "$nick kicked you from $dest because $reason" 467 467 468 468 removeChannel $token $dest 469 469 } else { 470 470 # puts "$nick kicks $kicked from $dest because $reason" 471 orxonox::irc::info $token "$nick kicks $kicked from $dest because $reason"471 ::orxonox::irc::info $token "$nick kicks $kicked from $dest because $reason" 472 472 473 473 removeFromChannel $token $kicked $dest … … 584 584 proc RECV,CTCP,ACTION {token nick user comm dest action rest} { 585 585 # puts "$nick $rest" 586 orxonox::irc::action $token $nick $rest586 ::orxonox::irc::action $token $nick $rest 587 587 588 588 return "" … … 612 612 proc defaultAction {token nick user comm dest rest} { 613 613 # puts "$token: $nick $user: $comm -> $dest ... [eval concat $rest]" 614 orxonox::execute log "$token: $nick $user: $comm -> $dest ... [eval concat $rest]"614 ::orxonox::execute log "$token: $nick $user: $comm -> $dest ... [eval concat $rest]" 615 615 616 616 return ""
Note: See TracChangeset
for help on using the changeset viewer.