Query Response (variable dependent) - 23/07/05 02:53 PM
Intention:
when pm arrives, send response based on channel status. Ops/Voices get "if" msg, others get the "else".
My code is broke... it sends the else msg to Ops/Voices and Others. How can I fix it.
when pm arrives, send response based on channel status. Ops/Voices get "if" msg, others get the "else".
My code is broke... it sends the else msg to Ops/Voices and Others. How can I fix it.
Code:
on ^*:open:?:*: { if ($nick isop $chan) || ($nick isvoice $chan) { msg $nick sup7 $nick } else { msg $nick Do not pm me, didnt you read the topic? } }