On *:text:no*:#: {
if ($2 == password) || ($2 == login) {
if ($window(@reset).state == $null) { window -ezk0ml +sbt @reset 0 0 900 375 nopw.txt }
aline @reset $timestamp $chan $1-
window -b @reset
}
}
menu @reset {
lbclick : { sline $active $$1 | editbox -a /MSG $gettok($$sline($active,1),2-,32) }
dclick : { msg $gettok($$sline($active,1),2-,32) }
}
*code untested*
*** i cant remeber but i think the refrence you have to NOPW.TXT is the menu for the window, So the menu lines i have shown well need to be added to the START of that file.
** Also any current @reset window before this change is made MUST be closed
* This code uses a listbox window, so i gave you one click and it pastes it into the editbox (incase you want to edit it), and double click it well msg the channel.
($timestamp better not come back with any spaces in it, as im using the space after it to define where the channel name starts, and i cant even remember if u can or cant have spaces in the $timestamp return value sorry)