While not technically needed, I sometimes find dynamically named variables easier to work with if I'm wanting to ensure a variable coincides with other information. For example tracking the number of times a particular nick has joined a particular channel, I would probably use something like
Code:
 inc $+(%,join,.,$chan,.,$nick) 
That way I can easily reference the number of times a particular nick has joined a particular channel.

You can disregard this post...I missed the fact that you were referring to local variables, rather than variables in general, but I'm going to leave the post up, for others to be able to reference.


Last edited by RusselB; 21/11/06 01:48 AM.