mIRC Homepage
Posted By: obsessed raw 324 - 30/06/03 09:47 AM
raw 324:*:echo $2 Modes: $3- | haltdef
Why would it display this twice does the server send that raw twice or what?
Modes: +tnl 50
Modes: +tnl 50
Posted By: pheonix Re: raw 324 - 30/06/03 11:44 AM
why not just use $chan(#).mode ?
Posted By: lammkott Re: raw 324 - 30/06/03 11:52 AM
I've come across this problem as well in the past, I worked around it by using $chan(#).modes and adding the same line to another raw which is triggered when joining a channel, like raw 353 (/names) for example, and halting raw 324.
Posted By: neophyte Re: raw 324 - 30/06/03 02:26 PM
Some modes are only able to be seen when a user is opped.

When you get opped, channel modes are generally sent again to the client.

This is most likely causing you to see it twice.

Don't worry, it isn't a bug in your script.
Posted By: obsessed Re: raw 324 - 01/07/03 07:43 AM
Thanx alot guys smile
raw 324:*:if (!$chan($2).modes) echo $2 Modes: $3- | haltdef
Posted By: Gogatee Re: raw 324 - 02/07/03 03:54 AM
well, for me that code doubles up.

edit: Um, i was thinking about the way previously stated about to fix it, like put it in another raw that doesn't double up.

However, how do you do the created date using that method?
© mIRC Discussion Forums