"* is available for help." toggler

By francismori7 on Jun 13, 2008

That is made for IRCOps that are too busy to do /mode [SAP]Francis -h+h.

Here: Only need to type /toggle_help and it does it for you ;)

Paste all that in remotes.

; /toggle_help cmd ;D START
alias toggle_help {
  if (%help == 1) {
    //mode $me -h
    %help = 0
  }
  else {
    //mode $me +h
    %help = 1
  }
}
; /toggle_help cmd ;D   END

Comments

Sign in to comment.
francismori7   -  Jun 13, 2008

You can type /toggle_help only lol.

 Respond  
guest598594   -  Jun 13, 2008
alias toggle_help {
  $iif(%help == 1, %help = 0, %help = 1)
  $iif(%help == 1, mode $me -h, mode $me +h)
}

You don\'t really need the same thing in both situations, so you could just do

  %help = $iif(%help,0,1)
  mode $me $iif(%help,-h,+h)
 Respond  
Korvin   -  Jun 13, 2008
alias toggle_help { $iif(*h* iswmcs $usermode,mode $me -h,mode $me +h) }

mine pwnz

 Respond  
Korvin   -  Jun 13, 2008

lawlz =D very simple script and not really needed

 Respond  
Scakk   -  Jun 13, 2008

With your version you have to type \" /toggle_help 1 \" or \" /toggle_help 0 \".

Shorter version: Only need to type \" /toggle_help \"

alias toggle_help {
  $iif(%help == 1, %help = 0, %help = 1)
  $iif(%help == 1, mode $me -h, mode $me +h)
}
 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.