alias counter { inc %counter.test | caller }
alias caller { if ( %counter.test < 1000 ) { counter } }

If I run /counter, %counter.test will only increase to 500. shocked

I'm not sure if this is hard coded to prevent infinite loops, or if it's just a bug.

I'm running 6.03 on Win2k Pro SP3.

Update: I had a friend try this on a 5.91 install and it only counted to 50. I'm thinking this limit is in there for a reason. I understand this isn't the most efficient way of performing this function, but it still peaks my interest.

Last edited by DemonWarp; 03/07/03 03:36 AM.

------------------------
#HardOCP on EFnet