Imrac

Imrac

Joined
Mar 06, 2007

Activity Stream

Imrac commented on a Page, $maketok(word,C) identifier  -  Oct 20, 2008

Gummon: No, First it doesn't have "\t $+ $chr($2)", second you need a dot to match the first letter, so it doesn't add a token before the first letter, third $2 doesn't work in the replace part of the token (don't ask me why, it just doesn't)

 Respond  
Imrac commented on a Page, $maketok(word,C) identifier  -  Oct 20, 2008
alias maketok {
  var %2 = $chr($2)
  if ($isid) { return $regsubex($1,/(.(?!$))/g,\1 $+ %2) }
}
 Respond  
Imrac commented on a Page, Bot Commands  -  Oct 17, 2008

Ughh

The Original has 11 commands

This has: 27 commands
This: completely worthless.

 //mode $chan -o $me

Now that's a top notch snippet right there.

 Respond  
Imrac commented on a Page, Bot Commands  -  Oct 16, 2008

Not sure the point of this bot. Considering people have to be ops to use it, they could just do all those mode changes on their own. And yeah it is against the rules to re-post old snippets if you have a newer version. All you need to do is edit the old one.

 Respond  
Imrac commented on a Page, Newsflash script  -  Oct 12, 2008

They are these things that are brought down from out side space!!!!! They are shiny with hemp draped around them.

 Respond  
Imrac commented on a Page, Newsflash script  -  Oct 12, 2008

I like to plug where I can =)

 Respond  
Imrac commented on a Page, Briefcase Game  -  Oct 12, 2008

Instead of setting a variable use /var, that way its local to the script and not a global variable. maybe something like:

on 1:TEXT: !briefcase:#:{
  var %x $rand(1,3), %m
  if (%x == 1) %m = pulls a pistol out of a briefcase and shoots $nick in the head
  elseif (%x == 2) %m = pulls a pellet gun out of a briefcase and shoots $nick in the chest
  else %m = pulls out a huge wad of money and tosses it to $nick
  describe $chan %m
}
 Respond  
Imrac commented on a Page, Newsflash script  -  Oct 12, 2008

!newsflashisgay could be used as a trigger. And yeah its more of a factoid script than it is a "news flash" script. When I think of a news flash, I think of breaking news, or recent news. You should look into hash tables =)

 Respond  
Imrac commented on a Page, Background Manager  -  Oct 07, 2008

Looks great, the only thing I wish, is that you start using hash tables =). Its alot cleaner, and the table is stored in memory, making it faster, and less taxing on the hdd =)

 Respond  
Imrac commented on a Page, [Tut]If/Else Statements  -  Oct 06, 2008

wrong section there bud. And this might be a better thing for the forums.

 Respond  
Imrac commented on a Page, No Text Highlight  -  Oct 05, 2008

Cool

 Respond  
Imrac commented on a Page, Swear Kicker (Curse Kicker)  -  Sep 29, 2008

You can use the chr 161 for a addtok and then if ($regex($1-,$+(\b(,%swearlist,)\b))) { do w/e you want do it }

 Respond  
Imrac commented on a Page, Logs in HTML.  -  Sep 25, 2008

Take a look at mine: http://www.hawkee.com/snippet/5017/
You should setup an alias so you don't have to /write Ugly HTML ASDKLASDJLJ ASJD ASD SD JLKASD:L ect in it. my 2 cents.

 Respond  
Imrac commented on a Page, Basic Aligned Theme  -  Sep 25, 2008

You should use $timestamp for the time, I personally like my own timestamp format better than just hh:nn, my 2 cents. Oh, About the long name thing, you could also have a variable with the longest length, then if the new name is longer, you can loop through the buffer and realign everything again, that would be cool. Oh and use [img] tags on the description.

 Respond  
Imrac commented on a Page, Sentence ender/capitalization  -  Sep 20, 2008
#sent.comp on
on *:INPUT:*:{ if (/* !iswm $1-) && ($active != Status Window) { msg $active $regsubex($regsubex($1-,/^((?:\x03\d{0,2}(?:,\d{0,2})?|\x02|\x1f|\x22)*(?:[a-z]))/, $upper(\t)), /([^.?!])$/, \t $+ $chr(46)) | halt } }
#sent.comp end

menu channel,status,query {
  Sentance Completer
  .$iif($group(#sent.comp).status  == on, Disable, Enable) : $iif($group(#sent.comp).status  == on, .disable #sent.comp, .enable #sent.comp)
}

My version of it, handles colors, punctuation at the end, updated menu

 Respond  
Imrac commented on a Page, Password Generator  -  Apr 09, 2008

I modified Jonesy44\'s for my own use, if you do not mind =)

alias genpass {
  var %c = 1, %rpass
  while (%c <= 8) {
    if ($rand(1,2) = 1) { %rpass = %rpass $+ $rand(a,f) }
    else { %rpass = %rpass $+ $rand(0,9) }
    inc %c 1
  }
  return %rpass
}
 Respond  
Imrac commented on a Page, drugs bar  -  Apr 09, 2008

Extremely inefficient code and pretty much useless, could have used 1 on text and instead of:

  elseif ($2 == $nick) { /describe $chan prepairs a glass pipe and passes it to $nick . }
  elseif ($2 == $null) { /describe $chan prepairs a glass pipe and passes it to $nick . } 

could have been

  elseif (($2 == $nick) || (!$2))  { /describe $chan prepairs a glass pipe and passes it to $nick . }

Pretty funny though 3/10.

 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.