IFHTT

IFHTT

Joined
Aug 10, 2008
Interests
scripting/programming, guitar, irc

Activity Stream

IFHTT commented on a Page, Easy antispam script  -  Sep 05, 2008

lol also a good point, still a much cleaner code nonetheless

 Respond  
IFHTT commented on a Page, Easy antispam script  -  Sep 05, 2008

DangerOfFate, Your recommendation is rather pointless

The original if statement says if the nick is op'ed on the channel OR the nick is me then halt the script.

Your first if statement says if i'm an op on the channel then halt the script which would result in the script not working period if you were op'ed

Your second recommendation says if the nick is op'ed on the channel AND the nick is me then halt the script.

This would do the exact same thing as your first recommendation and would render the script useless. In this case || is the correct way to combine the comparisons.

napalm`s code is closer to ideal. Only "&& ($nick != $me)" isn't necessary since it will only trigger if you have ops in the channel anyway, so "if ($nick !isop #)" would cover it, though it will still work just fine.

 Respond  
IFHTT commented on a Page, Highlight Manager  -  Sep 04, 2008

Yeah, pretty much. Carriage Return marks the end of a line, and Line Feed starts the new line, so any data after $crlf will be on a new line

 Respond  
IFHTT commented on a Page, Highlight Manager  -  Sep 04, 2008

Carriage Return/Line Feed

 Respond  
IFHTT created a Page  -  Sep 04, 2008
1,041 

I was asked by a friend if mIRC had both Escape and Unescape aliases similar to the VB/Javascript functions.

 Respond   mIRC  
IFHTT commented on a Page, Highlighter Log  -  Aug 26, 2008

if you want the window to appear after you've been nickalerted move "window -De @highlighter 0 0 450 160 arial 13" into the else statement

So

on *:text:*:#: { window -De @highlighter 0 0 450 160 arial 13
  if ($me isin $1-) {
    if ($chan == $active) { halt }
...

to

on *:text:*:#: { 
  if ($me isin $1-) {
    if ($chan == $active) { halt }
    else {
      window -De @highlighter 0 0 450 160 arial 13
      echo -t @highlighter 6* 13 $+ $nick 1called you at13 $time 1on channel13 $chan 1on the network13 $network 1and said6:13 $1-
....
 Respond  
IFHTT commented on a Page, !google  -  Aug 16, 2008

^ indicates that the match is at the beginning of a string in regex

 Respond  
IFHTT commented on a Page, Auto ping on connect  -  Aug 15, 2008

You also ideally don't need $calc(%ping) with the way you're using the script, since mIRC automatically calculates equations stored in local variables (although you aren't setting a local variable, you really should for scripts of this nature.).

Also as napa182 pointed out, it appears you ripped the code from another script... :/

Ex:

var %ping = $ctime - $2
.timer 1 2 echo -s 4 ..:: I have -> $duration(%ping)of lag:in server $+ $server  ((AUTO PING MADE BY Lingo))::..
 Respond  
IFHTT commented on a Page, !google  -  Aug 15, 2008

I don't think it'll work unless you use a replace to change the spaces to +.

Also you have to add /search?q= to the url otherwise google will not search for the query.

$+(www.google.com/search?q=,$replace($2-,$chr(32),+))
 Respond  
IFHTT commented on a Page, Basic Text Encryption  -  Aug 14, 2008

Ah, I see... I had assumed that was the issue at first, I\'m still on 6.17 lol...

Edit @ EL below: I gave it a 7 because it\'s a simple and useful method for encryption, and in the hands of the average inexperienced irc user it could serve some purpose. I agree that it\'s not the MOST secure or useful method to do so but it is a useable method nonetheless, and I\'ve seen people using the exact same technique with crappier scripting. I don\'t see what difference it makes anyway...

 Respond  
IFHTT commented on a Page, Basic Text Encryption  -  Aug 14, 2008

This didn\'t work for me until I replaced $regml(n) with \"backslash t\"

alias senc { 
  var %% = $1
  msg $active $regsubex($2-,/(.)/g,$chr($xor($asc(\\t),%%)))
}

Still a simple and neat encryption snippet.

Edit: Apparently it doesn\'t allow the backslashes. :S

 Respond  
IFHTT commented on a Page, code enter to bot to server  -  Aug 12, 2008

I think we\'ve established that this is used to open another instance of mIRC... It\'d have been easier if you just used $mircexe... Like so:

on *:input:*: { if ($1 == enter) { run $mircexe } }

And yes, it\'s pretty useless, IMO...

 Respond  
IFHTT commented on a Page, code enter to bot to server  -  Aug 12, 2008

what the hell?

 Respond  
IFHTT commented on a Page, Draw text  -  Aug 11, 2008

Very cool! I\'ve been looking for something like this for a while.

 Respond  
IFHTT created a Page  -  Aug 10, 2008
583 

I recently got a little bored with my usual mIRC layout so I opted to make it look as minimalistic as possible (disabling the display of the menubar, toolbar, and switchbar). Since I disabled the switchbar I wanted to retain a way to switch channels with the mouse so I decided to write up this little snippet.

  1 Thread   mIRC  
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.