Battlemonkey

Battlemonkey

Joined
Dec 23, 2009

Activity Stream

Battlemonkey commented on a Page, Module Writer  -  Jan 30, 2011
      msg # Data written.

That's not really important, if you're writing a particularly big module or whatever, it would start spamming that.

More
 Respond  
Battlemonkey commented on a Page, Amsg Script w. Dialog  -  Feb 16, 2010

The amsg alias is useless+taking over a built-in alias and can be replaced with:

scid -a amsg $did(5).txt
More
 Respond  
Battlemonkey commented on a Page, Spell Checker  -  Feb 09, 2010

Wow, thanks!

More
 Respond  
Battlemonkey commented on a Page, Thanks For Voice  -  Feb 08, 2010

Wait, messed up. But as D34th said, there should be a counter for if you get devoiced.

More
 Respond  
Battlemonkey commented on a Page, Activate vhost on nick change  -  Feb 08, 2010

lol, I just figured out you could have multriple vHosts.

More
 Respond  
Battlemonkey commented on a Page, Pickup lines ! Works great!  -  Feb 07, 2010

O_o Examples are... scary? But a regex might be better for the on text event.

on $*:text:/^.(add|del|search|last)?pline (\w+)$/Si:#: {
More
 Respond  
Battlemonkey commented on a Page, Spell Checker  -  Feb 07, 2010

ok, I never thought timers would work like that lol.

EDIT: I can't get it to work with timers. You might just have to use the dialog.

More
 Respond  
Battlemonkey commented on a Page, Spell Checker  -  Feb 07, 2010

I mean he $input part, mIRC doesn't let you use it in an event. I did, however, get a dialog made to do this. Code:

menu * {
  Spell Check: {
    var %i $input(Please enter one word to spell,aoe,Spell Check)
    if (%i) { sockopen spelld www.spellcheck.net 80 | sockmark spelld %i }
  }
}
on *:sockopen:spelld: {
  sockwrite -n $sockname GET /cgi-bin/spell.exe?action=CHECKWORD&string= $+ $gettok($sock(spelld).mark,1,32) HTTP/1.1
  sockwrite -n $sockname Host: www.spellcheck.net
  sockwrite -n $sockname Connection: Close
  sockwrite -n $sockname $crlf
}
on *:sockread:spelld: {
  var %sresults | sockread %sresults
  var %sword $gettok($sock(spelld).mark,1,32)
  if ($regex(%sresults,/is misspelled/Sig)) { set %spelledcorrectly no }
  if ($regex(%sresults,/is spelled correctly/Sig)) { set %spelledcorrectly yes }
}
on *:sockclose:spelld: { dialog -m spch spch }
dialog spch {
  Title "Spell Check"
  Size -1 -1 75 30
  option dbu
  button "$iif(%spelledcorrectly == yes,Spelled Correctly,Misspelled)", 1, 10 10 50 12,ok
}
on *:dialog:spch:init:*: {
  unset %spelledcorrectly
}
More
 Respond  
Battlemonkey commented on a Page, Spell Checker  -  Feb 07, 2010

That might be annoying for some people and I'm not sure how to add it every time you say something. I could, however, make a menu item which you can click to spell check what you're about to say.

More
 Respond  
Battlemonkey commented on a Page, Spell Checker  -  Feb 07, 2010

A dialog? Ok, I'll try to make one, will take a while.

@Jethro_ Thanks :D

More
 Respond  
Battlemonkey commented on a Page, Definition Script  -  Feb 07, 2010

@above Not sure what you mean by that, but I'm fine with what I have now. Thank you anyways. :)

More
 Respond  
Battlemonkey commented on a Page, Spell Checker  -  Feb 07, 2010

Ok, I'll be looking into all of that.

@napa I'll take you off the credits and I'll add the $sock().mark.

@Jethro_ Sorry, trying to learn regex, I can't be good at everything.

More
 Respond  
Battlemonkey commented on a Page, Definition Script  -  Feb 06, 2010

Update: Added the $nohtml alias which should have been there.

More
 Respond  
Battlemonkey commented on a Page, Spell Checker  -  Feb 06, 2010

oh... Quite a few things, eh? /Sig is just what I'm used to, will change that now. $sock().mark is still unfamiliar to me so I'll stay away from that for now. I'll get $nohtml in. I'll fix the unset %s* too. Thank you!

More
 Respond  
Battlemonkey commented on a Page, Spell Checker  -  Feb 06, 2010

lol I know. That's my way of saying you got it down. btw I figured out how to get it on my script using your regex :P.

More
 Respond  
Battlemonkey commented on a Page, Spell Checker  -  Feb 06, 2010

...Darn it? Fine you win. Thanks :P

More
 Respond  
Battlemonkey created a Page  -  Feb 06, 2010

Spell checker. Thanks to napa182 for some corrections + FordLawnmower for many great suggestions.

Battlemonkey commented on a Page, Definition Script  -  Feb 06, 2010

...:o IT'S A LIE! /me blushes

More
 Respond  
Battlemonkey commented on a Page, Definition Script  -  Feb 06, 2010

Shhh... That's a secret. /me hides

More
 Respond  
Battlemonkey commented on a Page, Definition Script  -  Feb 06, 2010

@`Dean Not sure what happened. Try placing it in a new remote.

@The rest of you. O_o I'll study that and figure it out :P.

More
 Respond  
Battlemonkey commented on a Page, Definition Script  -  Feb 06, 2010

lol more regex. ok then.

More
 Respond  
Battlemonkey commented on a Page, Definition Script  -  Feb 06, 2010

Sockmark? Not sure what that is... Could you please give me an example?

More
 Respond  
Battlemonkey commented on a Page, Definition Script  -  Feb 06, 2010

Thanks Jethro_. Just started regex :P.

More
 Respond  
Battlemonkey commented on a Page, Definition Script  -  Feb 06, 2010

Thanks :)

More
 Respond  
Battlemonkey created a Page  -  Feb 06, 2010

This snippet defines stuff (duh) using define, definition, or def. I know there's other ones but I wanted to post mine :P. Thanks to Scakk for one of the $replace lines and Jethro_ for the regex statement. Gooshie fixed the regex up a little more too.

Battlemonkey commented on a Page, Chat Acronym Lookup   -  Feb 02, 2010

Right... 'Quick'.

More
 Respond  
Battlemonkey commented on a Page, Window Manager  -  Jan 30, 2010

Ok, I see the problem. I'll fix it soon.

More
 Respond  
Battlemonkey created a Page  -  Jan 29, 2010

This snippet manages your queries/@windows/channels. Just right-click anywhere and click Window manager and you're good to go. Thanks to Scakk for the /htsave and /htload aliases.

Battlemonkey commented on a Page, ChannelList  -  Jan 21, 2010

No need for a "if ($nick == $me) { halt }" because on TEXT events are only triggered by other users.

More
 Respond  
Battlemonkey commented on a Page, Text moving Dialog  -  Jan 18, 2010

heheheh Oops. Fixed.

More
 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.