mIRC Home    About    Download    Register    News    Help

Print Thread
D
dsq
dsq
D
On ^*:TEXT:#:{
if ($nick isop #) { echo $chan (5:49)<@ $+ $1- $+ > $-1
}

it shows an @ for ops how can i make one of these for owners with a . ?

Joined: Dec 2002
Posts: 2,884
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,884
There's an undocumented isowner operator, so it's just a matter of switching isop for that and the @ for a . .

D
dsq
dsq
D
are you sure cause i tried that once

Joined: Dec 2002
Posts: 2,884
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,884
Hmm, well looking at your code, you seem to have some other things incorrect which wouldn't work, so I'm guessing your isop code doesn't work or you've copied it wrong? I would assume that you were looking for something like:

on ^*:text:*:#:{
if ($nick isop #) { echo -m # (5:49) <@ $+ $nick $+ > $1- | halt }
}


That should work, then you can just change the isowner and . as suggested before to make the owner text event.

D
dsq
dsq
D
lol. thanks for the help.... No I was scripting something real quick to show you an idea of it. lol.

Joined: Dec 2002
Posts: 395
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2002
Posts: 395
You can also use $nick().pnick for that, it returns nickname with it's prefix on a channel.


Link Copied to Clipboard