Modifying Your Channel Join Appearance

Written by Tazer999
Clan X Scripterz

Ok you know what it is like when you normally join a channel. All it does is going now speaking in #blah, with just a few quick raws though you will have a whole new entrance

First off you will decide if you want to be able to know what the topic is when you join, to do this you would use

raw 332:*:{
echo $2 Topic Is: $3-
halt
}


Raw 332 returns the channels current topic when you join
$2 is the channel to which it echoes, $3- corresponds to what the actual topic is

If you want to know who set the topic and when you can go

raw 333:*:{
echo $2 Set By: $3 On Date: $asctime($4)
halt
}

Raw 333 returns who set the topic, and on what date

$2 is the channel to which it echoes, $3 is who set the topic, and $4 is what date that person set it
To display all the people who are in the channel such as ops, voiced, etc you will use

raw 366:*:{
echo $2 Ops: $nick($2,0,o,rvh) Voiced: $nick($2,0,v,roh) Regular: $nick($2,0,r,ovh) Total: $nick($2,0)
halt
}

Raw 366 shows how many ops, voiced, regular, and total users are in that channel
$2 is the channel to which it echoes, $nick($2,0,o,rvh) is the ops, $nick($2,0,v,roh) is the voiced, $nick($2,0,r,ovh) is normal users, and $nick($2,0) is total users

To display what the current channel modes are you can use

raw 324:*:{
echo $2 Channel Modes: $3-
halt
}

Raw 324 shows what modes are currently active when you join that channel
$2 is the channel to which it echoes, $3- are the active modes

And finally if the channel has a webpage set to display that on your onjoin it would be

raw 328:*:{
echo $2 Webpage: $3-
halt
}