I have been working on a mirc rpg-character-name-generator lately and so far everything worked out fine.
If it weren't for one little part of the script:

alias limited {
var %first
var %amount
%amount = $did(namegen,3)
var %limit
%limit = $did(namegen,11)
%first = $read(namegen\pre.txt) $+ $read(namegen\suff.txt)
if ($len(%first) <= $len(%limit)) { did -a namegen 5 %first | goto next }
else goto begin
dec %amount
if (%amount != 0) goto begin | else goto end

When this alias is used it freezes my mIRC for some reason.
Any idea why it does this? Thanks.

Last edited by drakan; 17/01/04 06:48 PM.