on *:JOIN:#YourChannel:{ .notice $nick Welcome to $chan $nick $+ ! [your message here] }
You can use $chan in the script itself, since it only triggers in the channel you provide at #YourChannel in the ON JOIN event.
Added a . before notice, this will silence the command. If you use it, you don't see that you noticed someone. Try it out.
@Abcdefmonkey: It seems that /clear actually clears the chatspace for everyone on certain servers..
The brackters are still missplaced and / $+ clear can just be done as /clear.
Try this:
on *:TEXT:c:#: {
if ($me isop # && $nick isop #) {
.timererase 1 1 msg # /clear
.timererase 1 2 msg # $nick $+ , has Erased the chatroom.
}
else {
.notice $nick Either me or you have no permission to clear the chatspace in #
}
}
8 is 8
9 is 8
10 is 9
Windows 7 64bit
Microsoft security essentials
Windows Firewall on (off doesn't work either)
No programs blocking things
$Execute(%comname,AdodbStream.savetofile $+($qt($2),$chr(44),2))
This is the error line, it errors on every file it's trying to download. I downloaded them manually and then it fails 1 time, when it downloads the actual youtube file:
if ($WshVbscriptDownload($+(http://www.youtube.com/watch?v=,$1),%file))
Doesn't work for me too. I'm running version 7.1.
It seems the http://fordlawnmower.googlecode.com/files/ links doesn't work.
$$len($$?="Enter length")
This will cause your script not to work properly. If someone enters "10" it will be: $len(10) = 2. And the double $ have no use either if I'm not mistaken.
if ($len(%nick) == $2) { $iif(%nick ison $1,kick $1 %nick $iif($3,$3-,Banned),noop) }
This will kick everyone with the exact length you entered, not the ones who have a nickname longer than it. If you want that, you should use ">=". And you could do the if %nick ison $1 check in the first if statement.
Try this:
if ($len(%nick) == $2) && (%nick ison $1) {
kick $1 %nick $iif($3,$3-,Banned)
}
Note: I did not change "==" to ">=" in this code.