mIRC Homepage

showing a "." as owner in a theme

Posted By: dsq

showing a "." as owner in a theme - 10/12/02 07:52 PM

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 . ?
Posted By: starbucks_mafia

Re: showing a "." as owner in a theme - 10/12/02 08:12 PM

There's an undocumented isowner operator, so it's just a matter of switching isop for that and the @ for a . .
Posted By: dsq

Re: showing a "." as owner in a theme - 10/12/02 08:19 PM

are you sure cause i tried that once
Posted By: starbucks_mafia

Re: showing a "." as owner in a theme - 10/12/02 08:40 PM

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.
Posted By: dsq

Re: showing a "." as owner in a theme - 10/12/02 10:44 PM

lol. thanks for the help.... No I was scripting something real quick to show you an idea of it. lol.
Posted By: MonoSex

Re: showing a "." as owner in a theme - 11/12/02 10:28 AM

You can also use $nick().pnick for that, it returns nickname with it's prefix on a channel.
© 2019 mIRC Discussion Forums