mIRC Home    About    Download    Register    News    Help

Print Thread
#21926 02/05/03 10:57 AM
P
PHMinistries
PHMinistries
P
is there a way to do an if event that say
it would look in a text file

if ($2 isin ops.txt) { op $3 }

etc

is there a way to do that?

#21927 02/05/03 11:01 AM
T
theRat
theRat
T
/help $read

#21928 02/05/03 11:01 AM
Joined: Apr 2003
Posts: 426
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Apr 2003
Posts: 426
if ($2 isin $read(ops.txt)) { blah } should work.

#21929 02/05/03 11:02 AM
Joined: Dec 2002
Posts: 334
F
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 334
Maybe $read might help you? smile

mIRC has a build-in Auto op system... /help Auto-Op List

#21930 02/05/03 02:35 PM
Joined: Dec 2002
Posts: 416
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Dec 2002
Posts: 416
You could set each op in the channel to a level in your users list. But, I went with using the auto ops built into mirc because not only will it work with ops in different channels but across different networks

#21931 03/05/03 12:48 PM
S
saragani
saragani
S
if ($read(ops.txt,w,* $+ $2 $+ *) != $null) { op $3 }


Link Copied to Clipboard