while loop - 27/08/04 03:36 PM
I'm trying to make an alias for /join.
I want to type /j #channel1 #channel2 channel3 etc
and it will join all the channels I specify.
Any ideas on how to make it work?
I want to type /j #channel1 #channel2 channel3 etc
and it will join all the channels I specify.
Code:
j { var %channels = $0 while (%channels >= 0) { join %channels dec %channels } }
Any ideas on how to make it work?