anthalus

anthalus

Joined:
Mar 17, 2005

Activity Stream

anthalus commented on a Snippet, Simple random Number  -  Apr 24, 2006
I agree that the scoring system needs a total overhaul. I think for some just the definitions of the numbers is the problem, as they are quite vague.

As for the script, yeah it could be a bit neater, but this one was done on the fly, and I have never been one to really like using multistep variable definitions because it is easier to get lost that way.

Surely I could have done something like:

%a = $rand(0,9), %b = $str(%a,4), %c = $calc($int($asin($rand(1,%b))))
and so on and so on....
 Respond  
anthalus commented on a Snippet, Simple random Number  -  Apr 13, 2006
But, it does not take into account the fact that your computer computes $rand based on its current state. With the speed of calculations that it can do, $rand is not truly random.

(7+4+5+5+7)/5=5.6
 Respond  
anthalus posted a Snippet  -  Apr 11, 2006
anthalus commented on a Snippet, Raw Commands  -  Mar 27, 2006
This one: if ($version <= 6.16) should be changed to if ($version < 6.16) otherwise, everyone will get both messages. Also, you need to halt the script in the instance of under 6.16.
 Respond  
anthalus commented on a Snippet, teh dot bot talk  -  Mar 27, 2006
Try to condense it all down to a singular on 1:text:*:#: event. Like

on 1:Text:*:<specific channel>: {
if ($1- <operator> <word> ) { <cmds> }
else if ($1- <operator> <word>) { <cmds> }

and so on. This will prevent locking up mIRC, because in the way that you have it set-up, it has to go through all the on:Text events one by one.
 Respond  
anthalus commented on a Snippet, Random Key Generator  -  Mar 27, 2006
Basically you determine the length of a password that you want, from 4-25 characters, and it randomly outputs one for you to use for whatever.
 Respond  
anthalus commented on a Snippet, Slackers UnrealIRCd IRCop Script  -  Mar 20, 2006
Just for comparison sake, there are other IRCOp snippets:

http://www.hawkee.com/snippet.php?snippet_id=1097
 Respond  
anthalus commented on a Snippet, .view  -  Feb 22, 2006
This is quite a dangerous script without protections built in. A level system could be overcome fairly easily. I would add a check system that only allows certain areas of a specific folder for increased safety.
 Respond  
anthalus commented on a Snippet, Idle kicker  -  Feb 08, 2006
Yeah, what Corne said.

Forgot it was for a bot when I did the on Text and such. This is what happens when you are doing chaos math and replying here :)
 Respond  
anthalus commented on a Snippet, Idle kicker  -  Feb 03, 2006
It is already set to kick voices and normals. I excluded ops and halfops from being kicked.

For a bot:

on @*:TEXT:!idler*:?: {
.check.idle $1
}

Just message the bot with the room name and if it has ops, it will perform the check.

!idler #roomname
 Respond  
anthalus commented on a Snippet, Whois dialog  -  Jan 18, 2006
Really nice code.

Just curious, have you ever tried using MTS themes? They give you the same freedom for this code as a dialog, but they are much easier to work with.
 Respond  
anthalus posted a Snippet  -  Dec 20, 2005
anthalus commented on a Snippet, Revenge  -  Dec 05, 2005
Ooops, meant .mode # -o $$1
 Respond  
anthalus commented on a Snippet, Revenge  -  Dec 05, 2005
1. Why op someone then deop them right away?
2. With 3 commands going off at once, there is the potential to be flooded off of the server.
3. Why not just do:

Revenge: {
.mode # $$1
.kick # $$1 Revenge is Sweet
}
 Respond  
anthalus commented on a Snippet, Onotice Window  -  Dec 05, 2005
I would add on:kick and on:ban to it. Otherwise, looks pretty good.
 Respond  
anthalus commented on a Snippet, My Quote System  -  Nov 30, 2005
You forgot to define this variable:

if (%autoflooded >= 2)
 Respond  
anthalus commented on a Snippet, Random Key Generator  -  Nov 30, 2005
*Updated*

Nothing special on the update, just cleaned up some of the code. Forgot I posted this one :)~
 Respond  
anthalus commented on a Snippet, Voice Message  -  Nov 30, 2005
Aren\'t all Ops and HalfOps automatically voiced?
 Respond  
anthalus commented on a Snippet, Away System  -  Nov 30, 2005
Thanks Corne! I knew that something did not look right when I posted it, but I could not see it.

*Updated*
 Respond  
anthalus posted a Snippet  -  Nov 26, 2005
anthalus posted a Snippet  -  Nov 26, 2005
anthalus commented on a Snippet, Acronyms  -  Nov 16, 2005
What I meant was, if you have 2 or more scripts that use the on:input statement, that is where the danger lies. Because 1 keystroke (input) is detected, mIRC will not know which on:input to use.
 Respond  
anthalus commented on a Snippet, Computer Info  -  Nov 16, 2005
Ummm you just C&P\'d this one from DarkEngine DLL
 Respond  
anthalus commented on a Snippet, NetAdmin: snotice /Oper fail script  -  Nov 14, 2005
Ugh, sorry that I missed this comment.

Ok, for everyone else that views this: different servers display this message in their own unique way. You may have to play around with the $8 ($7, $10, $2). Basically you count along the message until you find the $nick.
 Respond  
anthalus commented on a Snippet, Highlight  -  Nov 14, 2005
You should probably close the on:text event with a group (#awaylog), otherwise it will highlight every mention of your nick.
 Respond  
anthalus commented on a Snippet, Acronyms  -  Nov 14, 2005
Be sure to note that you can only have 1 on:Input script. More than 1 at best will confuse your mirc, at worst, will crash. So if you are using more than 1, you will need to string them all together, which in itself is a bit delicate.
 Respond  
anthalus commented on a Snippet, on join channel scanner  -  Nov 14, 2005
on !1:JOIN:#:

If you just use on @!1:JOIN:#: , you can eliminate the need to check if you have ops.
 Respond  
anthalus commented on a Snippet, ctcp  -  Nov 14, 2005
Actually, changing the version is a bit more complicated than that. Pretty much, you have to halt all ctcp processes are redefine them.
 Respond  
anthalus commented on a Snippet, Middle-Finger pop-up  -  Oct 21, 2005
Fairly likely to get you booted for flooding...
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.