Pete®tje
-
Posts
75 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Pete®tje
-
-
It's funny to see how much effort MS puts in getting people to Windows 7. I doubt if anyone will be pulled over the line by a new version of Live Essentials, but who knows. Like you can expect of an old fart, I stick to XP.
-
Wow. Didn't expect that. Must be the $reverse indeed.
-
No idea which would be faster. I would say test it
Mine has a sorttok in it so can be slower.
Depends on where you use it for but I dont expect huge differences.
-
What is the reason for releasing stuff? Some want to help others with it, some do it to get attention.
Rippers won't stop before people stop releasing stuff.
So want attention or help people? -> release
Want that without being ripped? -> don't release
-
Nice work hixxy.
alias remreps { var %i, %j = $regsub($1,/(.)/g,\1 $+ $chr(1),%i), %j = $remove($sorttokcs(%i,1),$chr(1)) %i = $regsub(%j,/(.)(?=.*?\1)/g,,%j) return %j }
-
This triggers when the word test is in a sentence (beginning, middle or end) or alone. It does not trigger on "testing".
on $*:text:/\btest\b/gi:#: msg # What is there to test, $nick?
-
btw petertje. would you mind if i integrate your trivia into the script(instead of having it as an loose addon).
Feel free to use, distribute or modify it (in whatever order).
-
If you use the standard Phreik addon, there is an alias called accnick that returns the accountname of the nick.
So %somevar = $accnick(<nickname>) would put the accountname of <nickname> in %somevar.
-
host access
in MSN
Don't forget groups access is taken from the membership via userrole, not room access.
-
host access
in MSN
Is it on MSN Chat or on Groups?
-
-
You can use a regular expression in the on text event to catch both and ;-) like this:
ON $*:TEXT:/;\-?\)/g:#: {
Besides that I think there is a } missing at the bottom of the code
set %kick.count $calc(%kick.count +1) is the same as inc %kick.count and that should be placed before the kick to show the right number.
-
No problem. Don't forget if you use it on all on text events, it can become I/O consuming.
You could consider putting the words in a hash table.
-
This one should filter words that are in the file or that begin with it.
alias filter { var %i = 1, %m = $lines(filteredwords.txt), %in = $1-, %s while (%i <= %m) { %s = $regsub(%in,/(\b $+ $read(filteredwords.txt,%i) $+ \S*\b)/gi,,%in) inc %i } return %in }
-
You have to work the other way around then.
You should check all the words from the file and look if they are in (a part of a word of) the typed text.
-
If your gateway is blocking pings, you should have problems in script aswell.
If you didn't apply special security settings in the WAG54G, it doesn't block pings.
-
If you didn't change any special settings and you don't see the wireless drop, it probably isn't the router.
I have the same gateway and that drops wireless every now and then. but then you lose all connections, not only msn chat stuff....
-
Swear trick
in MSN
It's an arabic tatweel. Comes in bot as Ù€.
See here: http://www.fileformat.info/info/unicode/char/0640/index.htm
-
-
-
-
Yes there is.
on *:text:Hello:?:msg $nick Hello, how are you?
*edit: I use this as "whisper catch"
on *:text:*:?:{ inc -u60 %whisp. [ $+ [ $nick ] ] if (%whisp. [ $+ [ $nick ] ] == 1) msg $nick Whispering me is not very useful, because I am just a dumb bot. elseif (%whisp. [ $+ [ $nick ] ] == 2) msg $nick Didn't you read the first message? elseif (%whisp. [ $+ [ $nick ] ] == 3) msg $nick Well $nick $+ , you are a bit hard headed. Whispering to me is of no use. elseif (%whisp. [ $+ [ $nick ] ] == 4) msg $nick :| elseif (%whisp. [ $+ [ $nick ] ] == 5) msg $nick :|:| elseif (%whisp. [ $+ [ $nick ] ] == 6) msg $nick Ok. You win. elseif (%whisp. [ $+ [ $nick ] ] == 7) msg $nick You won the contest "Who is more stupid than the bot?" elseif (%whisp. [ $+ [ $nick ] ] < 10) msg $nick :-# elseif (%whisp. [ $+ [ $nick ] ] < 13) msg $nick :-# :-# elseif (%whisp. [ $+ [ $nick ] ] < 16) msg $nick :-# :-# :-# elseif (%whisp. [ $+ [ $nick ] ] = 16) msg $nick I have had it with you :s:s:s elseif (%whisp. [ $+ [ $nick ] ] = 20) msg $comchan($nick,1) $+ $nick whispered me for 20 times $& without getting a non-automatic response Is that Stupid or what??? :s:s:s echo -st Whisper from $nick : $1- .timerwhisp $+ $nick 1 2 window -c $nick }
-
Swear trick
in MSN
There was a bracket missing. I fixed the code in my previous post.
-
Swear trick
in MSN
In my code you can replace the ^a-z by the characters you want to have removed. Don't forget some characters have a meaning in regular expressions and need to be preceeded by a \.
on *:text:*:#:{ var %r, %s = $regsub($1-,/([\(\&\%\#])/gi,,%r) if (flower isin %r) kick # $nick Bad word: flower }
An other way to do it, is to put in the hex values of the characters to be removed. You can even use ranges there.
on *:text:*:#:{ var %r, %s = $regsub($1-,/([\x21-\x40\x7B-\xBF])/gi,,%r) if (flower isin %r) kick # $nick Bad word: flower }
You can even combine them.
Visual Tour: 25 Years Of Windows
in Main News
Posted
Freaking cool. Does it show your age when you say you seen them all working for real?