$cd identifier - mIRC
Commands & Identifiers
The $cd identifier contains the current directory/folder a user is viewing within an /fserve.
This example will send the user the current folder they are in if they type !folder:
; Listen for !folder on the SERV event ON *:SERV:!folder:msg =$nick Current Folder: $cd
Added: mIRC v4.0
Added on: 20 Mar 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.