But your way of saving data (#channel and stream_channel) is not reliable. If two users type !uptime for different channels at the same time it will probably return uptime for one of two channels twice. To avoid this you need not to save it at temp_variables (with -u10) but send it to uptime alias as parameters like "uptime $chan $iif($2,$2,$mid($chan,2))" and in /uptime-alias use "/sockmark uptime $1-" to send it again to on-sockopen event so you can use "tokenize 32 $sock($sockname).mark" to use those params no-matter-how-much-times simultaneously (after tokenize it will be $1 for $channel and $2 for stream).