Top

Comments

  (17)  RSS
simplicity's
simplicity
Comments: 17
 
mIRC Snippet:  Another Auto-Join :P
Posted on Sep 30, 2007 1:35 pm
Looks good.
simplicity
Comments: 17
 
mIRC Snippet:  F0x's Game Launcher v1.0
Posted on Sep 30, 2007 1:31 pm
Or you could just make it:

Code:

alias game.run { 
 var %sfile $$sfile(C:\,Choose game/file you wish to run)
 run %sfile
}


That simple.
simplicity
Comments: 17
 
mIRC Snippet:  Query forwarding 1.1
Posted on Sep 30, 2007 1:30 pm
Good job. 7/10
simplicity
Comments: 17
 
mIRC Snippet:  Bot dictionary
Posted on Sep 22, 2007 2:43 pm
Done.
simplicity
Comments: 17
 
mIRC Snippet:  Swear kicker
Posted on Sep 15, 2007 10:06 pm
thx d00d3!1!~
simplicity
Comments: 17
 
mIRC Snippet:  Simple badword script
Posted on Sep 15, 2007 4:09 pm
Remotes. ;)
simplicity
Comments: 17
 
mIRC Snippet:  Smiley Faces
Posted on Sep 15, 2007 1:00 pm
Where are you pasting the code? If you were pasting the one this user made in popups, it won't work. The code you are providing goes in the popups section. This one goes in remotes.
simplicity
Comments: 17
 
mIRC Snippet:  fmp3params
Posted on Sep 15, 2007 12:57 pm
I have added a small mp3 dialog to give everyone a feel of how the alias works instead of using two small examples in the introduction.
simplicity
Comments: 17
 
mIRC Snippet:  ..:: Freeze mp3 ::..
Posted on Sep 15, 2007 12:04 pm
Highly original. Excellent work.
simplicity
Comments: 17
 
mIRC Snippet:  RGB viewer
Posted on Sep 15, 2007 8:09 am
Thank you Gummo. :)
simplicity
Comments: 17
 
mIRC Snippet:  Swear kicker
Posted on Sep 14, 2007 6:20 pm
Thank you dataprofile.
simplicity
Comments: 17
 
mIRC Snippet:  Simple badword script
Posted on Sep 14, 2007 5:55 pm
$istok($1-,$gettok(%badword,%a,44),32) should solve that problem.
simplicity
Comments: 17
 
mIRC Snippet:  Swear kicker
Posted on Sep 14, 2007 5:44 pm
Thank you M[n]M.
simplicity
Comments: 17
 
mIRC Snippet:  List files
Posted on Sep 14, 2007 5:43 pm
Effective and clean. On the contrary, it's pretty simple. I recommend adding the option to delete the file. /remove should do the trick. I probably would give this a 5/10 if I had the option to rate snippets.

simplicity
Comments: 17
 
mIRC Snippet:  [OLD] Announce Script 1.0
Posted on Sep 14, 2007 3:09 pm
This is moderate. There are a few errors I found though.

1. $read(A.txt) will return a random line from your announcements. Try using this code:

Code:

var %x = 1
while (%x <= $lines(A.txt)) {
 ; This line returns if the total number of lines in a text is more than 1
 .timer 1 2 msg $chan $read(A.txt,%x) | inc %x
 ; This line broadcasts to the channel the announcements with a timer. This is to prevent flooding. The $read(A.txt,%x) reads a specific line in the text. The %x varaible will add 1 to its current number each time. And until the events ends, it will keep on msging the channel with the %x line in the txt file.
}


Remove the ; comments if you end up using the code. I just wanted to explain what everything does. ;)

2. There needs to be a space between the $read and the closing bracket.

3. Remove the /'s (not really an error). It's better coding that way. ;)

Other then that, nice idea. I recommend you add a feature to remove a specific line of text from the txt file.
simplicity
Comments: 17
 
mIRC Snippet:  Spam Block
Posted on Sep 13, 2007 5:59 pm
I would add an on *:text event for the query. Perhaps an option to add words and just use a $read to check if the word is in the txt file. Could be a little re-done but nice idea.

simplicity
Comments: 17
 
mIRC Snippet:  Guessing game
Posted on Sep 13, 2007 5:15 pm
You have a few errors:

The timers do not turn off when the word is said or the stopguess occurs.

If you do not have halfop or op you will receive an error.

I edited your code a bit. I fixed the timers by adding a .timersay off. Try this:

Code:

on *:TEXT:*:#:{
  if ($1 = !guessword) && ($gettok(%gamestatus,1,32)) {
    if ($2 = %word) {
      set %win on
      msg $chan $nick has won the game!
      if ($nick !isvo $chan) && ($me isop $chan) { mode # +v $nick }
      .timersay off
      halt
    }
  }
  if ($1 = !stopguess) && ($gettok(%gamestatus,1,32) = on) {
    unset %gamestatus
    msg $chan Guessing game has been stopped.
    .timersay off
  }
  if ($1 = !startgame) && (!$gettok(%gamestatus,1,32)) {
    unset %hintstatus
    unset %win
    set %gamestatus on
    msg $chan Guessing game has started.
    .timersay 1 5 msg $chan Hint: %hint1
    if (%win != on) {
      .timersay 1 30 msg $chan Hint: %hint2
      .timersay 1 50 msg $chan Sorry, your time is up! The word was %word $+ .
    }
  }
  if ($1 = !neword) && ($nick iswm %owner) {
    msg $nick Please enter your word and hints.
  }
}

on *:TEXT:*:?:{
  if ($1 = new) {
    if ($2 = word) set %word $3
    if ($2 = hint1) set %hint1 $3
    if ($2 = hint2) set %hint2 $3
  }
}


Otherwise, not bad. I recommend a little more work put into this. Maybe use a text file to read different words or make it into something bigger such as a scramble game.
Bottom