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
why not just use $chan(#).mode ?
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.
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.
Thanx alot guys
raw 324:*:if (!$chan($2).modes) echo $2 Modes: $3- | haltdef
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?