First off, using pipes | in a code makes it a lot harder to read
Secondly, usage of goto statements should be eliminated if at all possible.
Try this re-write of your code and let us know if there are any other problems, or if you need clarification regarding what the code does, where and/or when.
;; Admin Purging
on *:text:enable purge:*:{
timerpurge 9:57 0 86400 purge
}
alias -l purge {
var %0 = 1, %numberbots = $numtok(%winbolo.bots, 44)
while %0 <= %numberbots {
var %bot.purge = $gettok(%winbolo.bots , %0 , 44)
if (%bot.purge ison #uhh) {
msg %bot.purge Start Purging
}
inc %0 1
goto checkifbotison
}
echo $me Admin Purging is complete!
}