extremity

extremity

Joined
Jun 10, 2011

Activity Stream

extremity commented on a Page, Common Channels  -  Jun 24, 2012

maybe

on !*:JOIN:#:{

to remove

if ($nick == $me) { halt }

As posted by DarthRaven and xDaeMoN .. .. Maybe some type of character confusion..

Regardless.. nice little snippet

 Respond  
extremity commented on a Page, AntiVirus Checker   -  Apr 28, 2012

Script? I do not see such a thing here.

MSE picked it up, good job. However, this does not test if the AV is fully active or the definitions are up to date.

 Respond  
extremity commented on a Page, Auto Greet Humper >.>  -  Jan 21, 2012

Congrats on posting your first snippet. The only thing I can say is the if ($nick==$nick) statement is really not necessary. It will always return true. If you are going to build further on this snippet, you may want to consider what happens if alot of users join at once or a server reset. You might flood out.

 Respond  
extremity commented on a Page, Password Generator.  -  Nov 19, 2011

Unfortunately, colored buttons have to be drawn using bitmap images in DCX. You can either specify a button bitmap or just use an image control. The windows API allows you to change the background color of a button object, but DCX does not support the property of BackColor yet, as far as i know.

Looking at the documentation, I have never messed with hgradient or vgradient. I do not know how to use them.

On the note of reducing code, if using v6.35 or higher, you can use:

 $regsubex($str(.,4),/./g,$r(a,z) $+ $r(A,Z)) 

rather than

$rand(a,z) $+ $rand(A,Z) $+ $rand(a,z) $+ $rand(A,Z) $+ $rand(a,z) $+ $rand(A,Z) $+ $rand(a,z) $+ $rand(A,Z)

to trim a bit

 Respond  
extremity created a Page  -  Nov 17, 2011
1 485 

Just a birthday slap I whipped up real quick for a member's birthday today..

extremity commented on a Page, WhoIs Dialog  -  Nov 08, 2011

more like

if alpha isin a b c d e f g h i j k .. returns true

if 005 isin 001 002 003 004 005 .. returns true

I use this in all my scripts.

 Respond  
extremity commented on a Page, Previously Known As Reporter  -  Nov 03, 2011

It used to be WorldDMT.. read above

:P I was actually using on me:*:join:#:{ but changed it to the regular join event, because the $ial().mark becomes empty when a user hops. Perhaps I have thought wrong in the process of making the script.

 Respond  
extremity commented on a Page, Previously Known As Reporter  -  Oct 29, 2011

oh and nice snippet for a nicklogger..

 Respond  
extremity commented on a Page, Previously Known As Reporter  -  Oct 29, 2011

only downside with hash saving on exit or part is if your computer or mirc crashes.. you lose all your data..

it is more resource hogging, but i save important hashes on a timer or on every update..

 Respond  
extremity commented on a Page, Slogan Maker  -  Oct 10, 2011

Is there a public website for all these faces?

I think you, alabama, should make a script to return random silly faces. It would both fit you and show how things should be done ;)

 Respond  
extremity commented on a Page, DCX Switchbar  -  Sep 29, 2011

which icons are meant to represent what? For example, is 10 a normal room icon, is 22 an active channel icon, etc?

 Respond  
extremity commented on a Page, PacMan  -  Sep 04, 2011

I think the game gave them names.. unless Jethro has some fetish we do not know about.. :S

 Respond  
extremity commented on a Page, PacMan  -  Sep 03, 2011

makes sense.. go left.. run into wall.. turn up.. run into wall.. turn left..

maybe he was blind after all..

 Respond  
extremity commented on a Page, PacMan  -  Sep 03, 2011

Oh yeah, didn't Pacman have an eye or two?

 Respond  
extremity commented on a Page, PacMan  -  Sep 03, 2011

Pacman should be eating Hawkee... as far as a new idea I would say I would love to see Shake from ATHF :P

 Respond  
extremity commented on a Page, On text Lol. Use for a bot  -  Jul 25, 2011

if the incremented variable is less than 3 then display the message.. code is functional

if I halted, then it works

 Respond  
extremity commented on a Page, On text Lol. Use for a bot  -  Jul 25, 2011

Flood control can be done several ways.. basically you halt the alias if the command has been used too many times within too many seconds..

my code is basic and I am certain that others have much more effective code that handles per channel and is shorter.

Basic Example:

  ;allows 3 commands per every 2 seconds, change numbers as you wish
  on *:TEXT:Lol:#:{

  ;increments (adds +1) a flood variable that resets after 2 seconds
  inc -u2 %lol.flood

  ;if the flood variable has not incremented 3 or more 
  if (%lol.flood <= 3) {
      msg # $nick We are all laughing at you! not with you! I mean.. With you.. -AhemAhem-
   } 
}
 Respond  
extremity commented on a Page, On text Lol. Use for a bot  -  Jul 24, 2011

regex seems to be a way of life around here .. slow or not in msl (Y)

 Respond  
extremity commented on a Page, BoT cOmMaNdS  -  Jul 19, 2011

Yeah I saw that based upon your code. I was offering assistance on his coding style of the snippet. Nice shortening.

 Respond  
extremity commented on a Page, BoT cOmMaNdS  -  Jul 19, 2011

I think the first if statement should be && and not ||. If user is op AND you are op, versus If user is op OR you are op.. otherwise it still tries to work if you are not op.

There are a few other things beyond what napa and jethro are suggesting (which are very valid), but not relevant to functionality.

Ask away if you need help adding what they suggested. Keep up the work!

 Respond  
extremity commented on a Page, RuDe BoT cOmMeNtS  -  Jul 07, 2011

Honestly, when i see scripts like this, I get tempted to flood the user off the server... permitting flood settings, number of active channels, and all other things..

The only ay to improve is to learn the hard way.. well there is a lot of hard way to come..

 Respond  
extremity commented on a Page, Random Thought  -  Jun 10, 2011

I just noticed how the number of thoughts changes from page to page.

44,000 was just the initial number. The socket updates the rt.idx which is the $r value after the socket runs once. But you are right Jethro, I am grabbing the wrong number. I will update to set the initial $r to 40,000 and have the sockread fetch the number of thoughts and not the number of comments.

 Respond  
extremity created a Page  -  Jun 10, 2011
463 

Well I was browsing for sites and found a random thought site with over 40k entries. So naturally, I am like.. let's make a little socket for it.

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.