would return instantly.tcl utimer 3 [putlog hi]
utimer 3 [list putlog "hi people"]
after 8000 [list putlog "hi people"]
Is not advisableafter 8000 {putlog "hello"}
Code: Select all
proc onjoin {nick uh hand chan} {
after 3000 {putlog "$nick join channel 3 seconds ago"}
}
instead of desired[00:00] $nick join channel 3 seconds ago
This is all to do with the way Tcl handles lists.[oo:oo] ppslim join channel 3 seconds ago
Code: Select all
proc onjoin {nick uh hand chan} {
after 3000 [list putlog "$nick join channel 3 seconds ago"]
}