Hey there,
The /aop command should work fine, you don't need to use any /whois information to make it work. Use
/aop nickname #channel 3. Change 'nickname' to your friends nickname (they must be online for this to work*), change '#channel' to the channel name. The '3' should be kept there, it adds the *!*user@hostmask to your /aop list, so no matter what nickname they use they will be opped by you.
* if they are not online, simply use /aop nick!user@host #channel and it should be fine.
If you want to do it with a script though you could use a simple on join message and if statement:
on @*:join:#channel:{
if ($nick == nickname) {
mode # +o $nick
}
}
This only triggers on the nickname however. Find out their hostname (the bit after the @ symbol) and use $site to make it more precise:
on @*:join:#channel:{
if (*somehostname* iswm $site) {
mode # +o $nick
}
}
And yes, it goes in Remotes, ALT+R, in a new blank script file.
For further help with the /aop command if it was confusing you might want to take a look at
/help /aop in mIRC. Hope this helps :-)
Regards,