mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2004
Posts: 2
E
EliBY Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
E
Joined: Mar 2004
Posts: 2
I was looking for a way to accept messages from Ops only (to avoid spam), but I couldn't find a way to do it.

Is there a chance to add this feature to future releases?

Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
it can be scripted:
Code:
on ^*:text:*:?:{
if $nick !isop #channel { haltdef }
}


New username: hixxy
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
on ^*:open:?: {
var %i = 1,%j = $comchan($nick,0)
while ( %i <= %j ) {
if ( $nick isop $comchan($nick,1) ) return
inc %i
}
if ( !$window(@msgs) ) window -z @msgs
echo @msgs -t < $nick > $1-
halt
}

how about something like this...


Code:
//if ( khaled isgod ) echo yes | else echo no
Joined: Mar 2004
Posts: 2
E
EliBY Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
E
Joined: Mar 2004
Posts: 2
Thanks everyone for the input.

I didn't know about scripting, so I guess I now have to learn it and try your suggestions.


Link Copied to Clipboard