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.
Help for those learning Tcl or writing their own scripts.
-
s
skull
Post
by skull »
Hello,
before executing a command I would need to check if the selected nickname is in channel.
How can I do that?
Thanks
P.S. I searched the whole forum but couldn't find anything useful (weird).
-
SpiKe^^
- Owner
- Posts: 831
- Joined: Fri May 12, 2006 10:20 pm
- Location: Tennessee, USA
-
Contact:
Post
by SpiKe^^ »
-
simo
- Revered One
- Posts: 1107
- Joined: Sun Mar 22, 2015 2:41 pm
Post
by simo »
if {![onchan $targetnick $chan]} {
Nick is not on channel so Do something here
} else { nick is on channel so Do something else here }
-
s
skull
Post
by skull »
Thanks both and sorry but I wasn't notified by the forum.