on *:load:{ $owner }
alias owner { set %owner.nick $$?="Please Set Bot Owner:" }
on *:connect: {
if (!%owner.address) {
if ($address(%owner.nick,1) != $null) {
set %owner.address $address(%owner.nick,1)
notice %owner.nick Hello! You are now recognized as my owner under the address: %owner.address
}
else {
echo -a No owner recognition!
set %owner.nick $$?="Please Set Bot Owner:"
}
}
}
What about this... Not sure if it works, but I think it's clear what I mean..