anthalus

anthalus

Joined
Mar 17, 2005

Activity Stream

anthalus commented on a Page, 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 Page, 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 created a Page  -  Apr 11, 2006

Just a random number generator that attempts to bypass the steady-state of a computer. It can be used for other scripts if you follow the directions in this script.

anthalus commented on a Page, 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 Page, teh dot bot talk  -  Mar 27, 2006

Try to condense it all down to a singular on 1:text:*:#: event. Like

on 1:Text:*:: {
if ($1- ) { }
else if ($1- ) { }

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 Page, 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 Page, 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 Page, .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 Page, 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 Page, 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 Page, 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 created a Page  -  Dec 20, 2005
3,312 

Just a simple idle kicker. It will kick anyone other than ops and halfops who have idled longer than you set the check for.

anthalus commented on a Page, Revenge  -  Dec 05, 2005

Ooops, meant .mode # -o $$1

 Respond  
anthalus commented on a Page, 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 Page, Onotice Window  -  Dec 05, 2005

I would add on:kick and on:ban to it. Otherwise, looks pretty good.

 Respond  
anthalus commented on a Page, My Quote System  -  Nov 30, 2005

You forgot to define this variable:

if (%autoflooded >= 2)

 Respond  
anthalus commented on a Page, 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 Page, Voice Message  -  Nov 30, 2005

Aren\'t all Ops and HalfOps automatically voiced?

 Respond  
anthalus commented on a Page, 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 created a Page  -  Nov 26, 2005
736 

This away system logs all mentions of your nick, all queries, in an @window. It provides your away message for queries and ctcps. Fairly basic stuff, but it works for me.

anthalus created a Page  -  Nov 26, 2005
1,376 

This is a simple autokill system for use by admins. Basically, when someone gets killed on a channel, it gives you the option to set an automatic kill every time they reenter. It sets their address as the check, instead of their nick. The SNOTICE part may need the $6 changed, depending on your server.

 Respond   mIRC  
anthalus commented on a Page, 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 Page, Computer Info  -  Nov 16, 2005

Ummm you just C&P\'d this one from DarkEngine DLL

 Respond  
anthalus commented on a Page, 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 Page, 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 Page, 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 Page, 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 Page, 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 Page, Lost Q bot?  -  Oct 12, 2005

Shouldn\'t it be just:

if ($nick(#,0) < 53) {
msg Q join #
}

?

 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.