A more recent version of scripts may be available at scripts.irssi.org.
Version: 1.1
Download
View source
signature
This script (tab)completes irssi special variables (words that start with $) by evaluating them.
For example: $topic<tab> will give you the current topic. $!word!<tab> will give you the last line you entered that contained 'word'.