RewriteEngine On
RewriteRule ^chat([^-]*)$ /chat/inside.php?nk=$1 [L]