A few things, /IAL exists as a real command, so using it as an alias isnt the best idea
your /IAL alias is ment to be passed $1 as a nick i assume, and it gets that from the alias KB's first lne.
Now in he hotlink you pass alias KB the active window as $1, and no $2 value (used later in it), so no wonder its all coming apart!