Thanks for the suggestions. I tried changing to var and nothing ended up getting set. I have it back to set and the only thing not getting set are the %join.compaddress. [ $+ [ $nick ] ] and %nick.compaddress. [ $+ [ $nick ] ]. I'm thinking that it's not reading the address in the line when it uses the $read command. Thanks for any help.