my q is.
Can i make global vars in a function so that i can call them as any other
global var in another function.
This is the thing, when i start upp my bot and it joins the chans i have set it to it should go through all the chans and give them a var that holds their resp, topic. Atm i have just set it to lable the vars as top1, top2, top3 a.s.o...
Just setting them as globals aint the real prob though, cause i wanna be able to do this a bit easier , like this
foreach chan [channels] {
set a "top"
set ch [append a $nr]
global $ch
set nr [expr $nr + $nr2]
}
so it goes through all the chans and "calls" a var for every chan.
just so i don´t have to edit my script file if i make it join more chans...
Hmm anyhow hope you get what i mean heh

//DariuZ