cessil

cessil

Joined
Jan 25, 2009
Location
interwebz

Activity Stream

cessil commented on a Page, Channel name background  -  May 08, 2010

love it, I added this to mine

      .background -p $chan $mircdir $+ \graphics\ $+ $chan $+ .bmp

so it sets the background for me

 Respond  
cessil commented on a Page, samp script  -  May 04, 2010

well if you own the sa:mp server you could just add that command in a filterscript or the gamemode

 Respond  
cessil commented on a Page, nick tracker  -  Mar 23, 2010

actually in the mirc help it says

The -m switch makes /hadd create the hash table if it doesn't already exist.

it only uses var and not set so the variables disappear when the script finishes because they are no longer needed so I don't actually understand your point of view.

 Respond  
cessil commented on a Page, nick tracker  -  Mar 19, 2010

try restaring mirc

 Respond  
cessil commented on a Page, link checker  -  Jan 08, 2010

@pangaea it reads the html data from the site.
@jethro_ I've never used regex and cbf learning it I know that sounds bad for me.

 Respond  
cessil commented on a Page, link checker  -  Jan 05, 2010

Pangaea take out the

13 $+ 

and

(4 %actlink ) 

in the msg lines

 Respond  
cessil commented on a Page, link checker  -  Dec 05, 2009
on *:text:*:#: {
  if (http:// isin $1-) {
    sockclose linkchecker
    set %link $remove($matchtok($1-,http://,1,32),http://)
    set %linkchan $chan
    set %actlink $matchtok($1-,http://,1,32)
    if (/ !isin %link) { set %link %link $+ / }
    sockopen linkchecker $remove($left(%link,$pos(%link,/,1)),/) 80
    halt
  }
  if (www. isin $1-) {
    sockclose linkchecker
    set %link $matchtok($1-,www.,1,32)
    set %linkchan $chan
    set %actlink $matchtok($1-,www.,1,32)
    if (/ !isin %link) { set %link %link $+ / }
    sockopen linkchecker $remove($left(%link,$pos(%link,/,1)),/) 80
    halt
  }
}
on *:sockopen:linkchecker: {
  if $sockerr > 0 { sockclose $sockname | halt }
  sockwrite -n $sockname GET / $+ $right(%link,$calc($len(%link)- $pos(%link,/,1))) HTTP/1.1
  sockwrite -n $sockname Host: $remove($left(%link,$pos(%link,/,1)),/)
  sockwrite -n $sockname $crlf
}
on *:sockread:linkchecker: {
  if $sockerr > 0 { sockclose $sockname | halt }
  sockread %linkh
  if (%delbug != $null) && ($len(%linkch) <= 150) && (</title> !isin %linkh) { set %linkch %linkch %linkh }
  if (%delbug != $null) && (</title> isin %linkh) {
    msg %linkchan 13 $+ $replace(%linkch,&quot;,",&apos;,',&amp;,&,&lt;,<,&gt;,>,&copy;,©,&reg;,®,&trade;,™,&euro;,€,&pound;,£,&yen;,¥) (4 %actlink )
    unset %delbug
    sockclose $sockname
    halt
  }
  if (<title> isin %linkh) {
    set %linkch $remove($left(%linkh,$pos(%linkh,</title>,1)),</title>)
    set %linkch $right(%linkch,$calc($len(%linkch)- $pos(%linkch,<title>,1) -6))
    set %linkch $left(%linkch,$calc($len(%linkch)-1))
    set %delbug 1
    if (%linkch != $null) {
      msg %linkchan 13 $+ $replace(%linkch,&quot;,",&apos;,',&amp;,&,&lt;,<,&gt;,>,&copy;,©,&reg;,®,&trade;,™,&euro;,€,&pound;,£,&yen;,¥) (4 %actlink ) 
      sockclose $sockname
      unset %delbug
      halt
    }
  }
}
 Respond  
cessil commented on a Page, link checker  -  Dec 04, 2009

change the "echo -t" to "msg"

 Respond  
cessil commented on a Page, Blacklist  -  Nov 28, 2009

actually a read would do just fine in this case because it doesn't write and read heaps unless there's like 50+ names in the shitlist.txt

 Respond  
cessil commented on a Page, nick tracker  -  Nov 28, 2009

all done, it's working for me, but this is my first hash table.

 Respond  
cessil commented on a Page, nick tracker  -  Nov 27, 2009

I'll try learning about hash tables and make a script to convert all the inis into a hash file.

 Respond  
cessil commented on a Page, nick tracker  -  Nov 24, 2009

I don't know how to make hash, and don't want to right now plus I've been running it for awhile now and the folders are only 183kb

 Respond  
cessil commented on a Page, Flip Numbers  -  Nov 24, 2009

oh wow that's cool

 Respond  
cessil created a Page  -  Nov 23, 2009

this script will record the nicks and log them to a hash file.

cessil commented on a Page, link checker  -  Nov 23, 2009

@Gummo I don't understand why since it resets all the global variables when going through the script again.

@Cherion just switch the echo to msg, most of the channels I'm in wouldn't let me message the channel the title of every link pasted.

 Respond  
cessil commented on a Page, cessil's theme  -  Nov 23, 2009

@candent you're meant to save it as a .txt or .mrc not an ini file. also type /indent 16.

@testor I didn't make it case sensitive because on the ircd's I'm on there is no +B that I'm aware of.
I was aiming for shorter messages and neatness, I didn't include the "quit" part because for me it is obvious that they quit since that blue doesn't show up on any other message.

@ghost-writer if you would kindly look at the screen shot provided you would be able to tell what colours ~&@%+ are, or maybe if you could read the script?
I didn't think there was a need for any guide since it's just the look of it.
If you do require a guide on how to load an mirc script then you can view this helpful tutorial.
http://chanops.org/faqs/clients/how-to-load-an-mirc-script-into-your-main-mirc-program.html
also I was going for simplicity I don't like the look of other peoples themes with 5 different custom toolbars full of useless information, I was going to make it more customizable but I like it the way it is now and wouldn't change the colours.

thank you all for your comments

 Respond  
cessil created a Page  -  Nov 23, 2009

this will echo the title of the link pasted in the channel. example:http://www.youtube.com/ YouTube - Broadcast Yourself. ( http://www.youtube.com/ )

cessil created a Page  -  Nov 23, 2009

I got bored with the default look of mirc so I decided to make it look different, just before uploading it I found someone else has used the same idea with the nicks aligning to the right and not left, I wanted mine to be unique but meh.

cessil commented on a Page, realname ban  -  Nov 19, 2009

here's a basic thing of what you're trying to do

 raw 311:*: {
if (%banchan != $null) {
    set %realname $6 $+ * 
    mode %banchan +b ~r: $+ %realname 
    kick %banchan $1 banned
    unset %banchan 
  }
}
alias rb {
  set %banchan $chan
  whois $1
}

lol oops "on" deleted

 Respond  
cessil commented on a Page, socket problem  -  Jan 26, 2009

all fixed I had another script interfering. thanks napa182

 Respond  
cessil commented on a Page, socket problem  -  Jan 26, 2009

@kirby, It wouldn't post it would go to a blank page but didn't post. sorry
@napa that doesn't work it just shows the map, did you also test it?

 Respond  
cessil created a Page  -  Jan 25, 2009
455 

it will only post the map type or Players not both. I tried this on mirc 6.16 and 6.35

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.