_Teen_ commented on a Page, F-Keys Alias  -  Jan 22, 2011

sorry but i didnt understand, what this is made for

/F4  {
  if ( $nick != $me ) { /MSG  ChanServ op $chan $me }
  if ( $me isop # ) { /mode $chan -oooo $me }
}

cause using this exactly sentence if ($nick != $me), it will op u using chanserv, and then, deop urself after this...

by the way, correct me if im wrong, whats the purpose of use $nick, in a F-key?
cause $nick,will not return nothing...

if you use

/F4 {
 echo -a $nick
}

it will only return

  • /echo: insufficient parameters

$nick

Returns the nickname of the user associated with an event.

from help file
since the Function keys are not an event, i dont see a reason to use this

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.