View/Edit #3797:c_tap

Switch to edit mode.

Name(s): c_tap
1:  comm = caller
2:  comm:isa($comm) || raise(E_PERM)
3:  if (!comm:_get_active())
4:    this:chan_join("control", "silently", comm)
5:    comm:action("command")
6:  else
7:    for chan in (this:ls_chan(comm))
8:      this:chan_part(chan, comm)
9:    endfor
10: endif

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Maxamillian (#833)

You are not logged in.

[home | help | who | search | setup | code]