Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Xchat::hook_command('j', sub {
- my @channels = split(/,/, $_[1][1]);
- foreach $channel(@channels) {
- $channel = '#'.$channel unless ($channel =~ m/^#/);
- Xchat::command("join $channel");
- }
- return Xchat::EAT_ALL;
- });
Add Comment
Please, Sign In to add comment