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.

 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
 Respond  
Battlemonkey commented on a Page, Spell Checker  -  Feb 09, 2010

Wow, thanks!

 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.

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

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

 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:#: {
 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.

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

 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

 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. :)

 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.

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

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

 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!

 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.

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

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

 Respond  
Battlemonkey created a Page  -  Feb 06, 2010
793 

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

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

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

 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.

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

lol more regex. ok then.

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

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

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

Thanks Jethro_. Just started regex :P.

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

Thanks :)

 Respond  
Battlemonkey created a Page  -  Feb 06, 2010
1 763 

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

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

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

 Respond  
Battlemonkey created a Page  -  Jan 29, 2010
329 

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 liked a Page, Poll Script  -  Jan 23, 2010
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.

 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.