This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

bind MODE

Help for those learning Tcl or writing their own scripts.
Post Reply
n
neoclust
Halfop
Posts: 55
Joined: Fri Aug 14, 2009 11:03 am

bind MODE

Post by neoclust »

how to be the host of victim in bind MODE
L
Luminous
Op
Posts: 146
Joined: Fri Feb 12, 2010 1:00 pm

Post by Luminous »

An example for you:

Code: Select all

bind mode - "% -b" unbanned
proc unbanned {nick host hand chan modechng victim} {
  putserv "NOTICE $::owner :Unbanned by $nick: $victim."
}
The % represents "the current channel". Victim is whatever happens after the mode change, could be a nick, or in this case, the host that was unbanned.
Post Reply