in reply to Re: Script replaces instead of add
in thread Script replaces instead of add

My goal is to ADD to the current hash. the way it is now. is it over-writes the entry for 'nick', instead of adding TO the queue. If a output of it in action is required, i can paste one.

Replies are listed 'Best First'.
Re^3: Script replaces instead of add
by roboticus (Chancellor) on Jul 23, 2015 at 10:27 UTC

    OK, then, you could also try changing the function to add the new delayed message to the one you currently have. As I mentioned, you're simply replacing the current value in the hash. If you want to add it to the nickname, then you'll have to pull out the current message (if any) and combine it with the new message, and only *then* assign the value to the hash.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.