Top
eL^Topo
Comments: 4
 
mIRC Snippet:  Simple Volume Control
Posted on Nov 8, 2009 3:40 am
Thank you too sunslayer :)
FordLawnmower
Comments: 387
 
mIRC Snippet:  Google Translator - Auto Text-Translator v3
Posted on Nov 7, 2009 11:08 pm
Oh, no idea then. You should be able to translate from english to spanish.
xViBeSz
Comments: 4
 
mIRC Snippet:  Google Translator - Auto Text-Translator v3
Posted on Nov 7, 2009 10:52 pm
Oh yeah, that's what I did the second time after I noticed I was using slashes.

<xV> !translate EN|ES Hi, my name is Tony.
-BUR- Strings do not match. EN and ES are not valid.
xViBeSz
Comments: 4
 
mIRC Snippet:  Rehashed Quote System + Dialog (v.2)
Posted on Nov 7, 2009 10:49 pm
Jeez. I really, really love all of your work. Thanks.
FordLawnmower
Comments: 387
 
mIRC Snippet:  Google Translator - Auto Text-Translator v3
Posted on Nov 7, 2009 10:48 pm
It's a pipe(|) inbetween the language codes. Not a slash(/)
Quote:
Syntax: !translate <language|language2>
xViBeSz
Comments: 4
 
mIRC Snippet:  Google Translator - Auto Text-Translator v3
Posted on Nov 7, 2009 10:39 pm
I have mIRC 6.35 and tried to use this script on Windows 7 Ultimate x64. The script works fine with not really any errors, but the translating doesn't work to well. This is what happens:

<xV> !translate EN/ES Hi, my name is Tony.
-BUR- Strings do not match. EN/ES and are not valid.
Ghost-writer
Comments: 217
 
mIRC Snippet:  Advanced Quote System
Posted on Nov 7, 2009 9:47 pm
/writeini quotes.ini stats all $calc($readini(quotes.ini,stats,all) + 1 )

Couldnt of used a $lines?
sunslayer
Comments: 242
 
mIRC Snippet:  Simple Volume Control
Posted on Nov 7, 2009 9:14 pm
replace the dialog with this
Code:
dialog Vol {
  title "Volume Control"
  size -1 -1 54 205
  option dbu
  scroll "", 12, 21 4 9 195, range 0 65535
}
sunslayer
Comments: 242
 
mIRC Snippet:  !cycle and !identify script
Posted on Nov 7, 2009 9:06 pm
Code:
 on *:TEXT:!identify:#:{ identify $1- }
then the entire channel would see your pass
Grant-
Comments: 79
 
mIRC Snippet:  Russian Roulette
Posted on Nov 7, 2009 8:13 pm
Okay, out of boredom I changed it up a bit :P
Code:
on $*:text:/^[@.!`]Rroulette$/Si:#:{
  msg $chan So you wanna test your luck against me eh $nick $+ ?
  describe $chan flips a revolver up in the air, and then catches it and fires at $nick $+ !
  var %x $r(1,3)
  if (%x == 1) {
    msg $chan *CLICK!* :I
  }
  if (%x == 2) {
    msg $chan *CLICK!* Lucky...
  }
  else { 
    msg $chan Well..
    .timer 1 1 kick $chan $nick 4Bang! x.x
 }
}
eL^Topo
Comments: 4
 
mIRC Snippet:  Simple Volume Control
Posted on Nov 7, 2009 7:46 pm
Nice... Thanks
Is there any way to make it vertical with max vol upwards?
FordLawnmower
Comments: 387
 
mIRC Snippet:  Russian Roulette
Posted on Nov 7, 2009 7:40 pm
You should use timers on the messages so they don't all come out at one time.
Also, why does your gun only a 3 shooter?
SketchDrawer
Comments: 2
 
mIRC Snippet:  !cycle and !identify script
Posted on Nov 7, 2009 7:36 pm
@Cracker: I dont see the need for that when mine is shorter. I guess thats just a more advanced complicated way to do it, so thanks! :)
Arcitech
Comments: 1
 
mIRC Snippet:  YouTube URL "Detector" (v.8)
Posted on Nov 7, 2009 7:25 pm
Regarding the missing titles, did a bit of tweaking and come up with something that worked for me.

Replace:
if ($regex(%yt,<title>YouTube\s-\s(.+)<\/title>)) sockmark youtube $addmark(youtube,Title: $+(,$regml(1),),62)

with:
if ($regex(%yt,<h1 >(.+)<\/h1>)) sockmark youtube $addmark(youtube,Title: $+(,$regml(1),),62)
xViBeSz
Comments: 4
 
mIRC Snippet:  Advanced Quote System
Posted on Nov 7, 2009 4:51 pm
I have a request.

For the "quote owner", before they do any action like !qdel, can you add in a check to make sure they're identified first? Because anyone could just change their nick to the "quote owner" and start messing around with the bot.

Thanks.
Cheiron
Comments: 616
 
mIRC Snippet:  Explain regexes
Posted on Nov 7, 2009 1:08 pm
very very nice code. easy to use and follow. gets 9 and a like from me
Ghost-writer
Comments: 217
 
mIRC Snippet:  Slap protection
Posted on Nov 7, 2009 12:07 pm
You dont have to put / in a script, and for your alternitive, you could put them both in 1 and make it random.
Jethro_
Comments: 405
 
mIRC Snippet:  Magic 8-ball
Posted on Nov 7, 2009 11:45 am
You can also do it this way:
Code:
on *:TEXT:*:#: {
  tokenize 32 $strip($1-)
  if ($1 == !8ball) {
    msg $chan Original question: $2- And the answer is:
    var %x = No!|Yes!|Of course|Have you gone mad?! I think you have|$&
      How should I know? Its not like I'm magic|Heck no!|Maybe... yeah|Why should I tell you?|$&
      If I say yes will you be quiet?|Yes... that will be 30 dollars|How should I say this? Um... no
    msg $chan $gettok(%x,$rand(1,$numtok(%x,124)),124)
  }
}
RemmyHero
Comments: 1
 
mIRC Snippet:  Whois Watcher
Posted on Nov 7, 2009 10:53 am
Thanks so much dude, I've been looking for this everywhere!
sunslayer
Comments: 242
 
mIRC Snippet:  Whois Watcher
Posted on Nov 7, 2009 10:47 am
/me stalks Grant- and stealz all his cookies
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Next
Bottom