Hi. I'm trying to write an alias that will reload all of my bot's scripts. The problem I'm having is that it only reloads the first loaded script.
alias rehash {
var %rehash 1
while (%rehash <= $script(0)) { reload -rs $script(%rehash) | inc %rehash }
}
Any help is appreciated.
Last edited by Tzar469; 18/02/09 06:41 AM.