I dont know a lot of irc.
Original:
on *:text:*http://*:#: { msg $chan .timeout $nick 1 }
My attempt:
on *:text:*http://*:#: if($nick != isop)
{ msg $chan .timeout $nick 1 }
Edit: So I tried that and still no luck. It is still skipping over the if statement. When I save it then reopen it the code looks like...
on $*:text:/http\x3A///Si:#:{
if($nick !isop $chan){
msg $chan .timeout $nick 1
}
}
Even though I saved with the spacing you posted. Is this even worth it? It can't timeout a mod. Does it hurt to just let it run when it doesn't need to?
Edit 2: Okay so I took out all the code. Just left what you posted and it still timed out op users. Here is a pic. What am I doing different than you? Cause I really have no idea.
Edit 3: Got this bit of code to work. Why? I have no idea. I dont have a .txt fine anywhere for it to read the op list from. So really confused on how this is working. Everywhere I looked had what you posted for a solution. Here is the Pic of it working.
on *:text:*http*:#:{
if ($read(op.txt,nw,$nick)) return
.timermsg 1 1 Msg # .timeout $nick 1
}