Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:text:*:#ExampleChannel1,#ExampleChannel2:{
- addwininfo $nick $+ : $1-
- var %CharLimit 192
- if ($len($1-) > %CharLimit) { ban -ku2 $chan $nick Please do not spam. }
- ;above is every channel below is just one specific channel.
- ;Just move the ; to the one you want to ignore
- ;if ($len($1-) > %CharLimit) && ($chan == #ExampleChannel1) { ban -ku2 $chan $nick Please do not enter too many characters in 1 post. }
- }
- on *:action:*:#ExampleChannel1,#ExampleChannel2:{ addwininfo * $nick $1- }
- on *:input:#ExampleChannel1,#ExampleChannel2: {
- if (($left($1,1) != /) || ($1 == /me)) {
- if ($1 == /me) { addwininfo * $+($me) $2- }
- else { addwininfo $me $+ : $1- }
- }
- }
- alias addwininfo {
- var %w = @ChannelText
- if (!$window(%w)) { window -Bdo +d %w 566 472 816 150 | window -Bdo +d %w 566 472 816 150 }
- aline -p %w $+($chr(2),$1) $2-
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement