Sorry... It wasn't evaluating the variable. frown

Replace:

if ($+(%,RevolvingDoor.,$nick) != $null) {

with

if (%RevolvingDoor. [ $+ [ $nick ] ] ) != $null) {