the info command gives information about what is going on with Tcl
something like
dict get [info frame -1] cmd
might be what you want
Dave B
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 741 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 61:06:17 |
| Calls: | 12,446 |
| Calls today: | 1 |
| Files: | 15,192 |
| Messages: | 6,537,463 |