I am trying to modify a remote script, but I couldn't see for sure from the help files..
the code-part I want to add to is from YourBot (mboard.mrc):
on 1:TEXT:*mview*:*: {
if ($1 == %qc $+ mview) {
if ($lines(txt\mbmessages.txt) == 0) { .msg $nick 5There are currently no entries to view. | closemsg $nick | halt }
else { .play $nick txt\mbmessages.txt 1500 | closemsg $nick | halt }
}
else { halt }
}
.... I would like that code to run iff $nick is on channel #test.
how should I do this using ison?
thanks!