mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 6
D
dsq Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Dec 2002
Posts: 6
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 . ?


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


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Dec 2002
Posts: 6
D
dsq Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Dec 2002
Posts: 6
are you sure cause i tried that once


dsq
=-eXploit-=
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
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.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Dec 2002
Posts: 6
D
dsq Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Dec 2002
Posts: 6
lol. thanks for the help.... No I was scripting something real quick to show you an idea of it. lol.


dsq
=-eXploit-=
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