Top

Comments

  (18)  RSS
Kasbah's
Kasbah
Comments: 18
 
mIRC Snippet:  Evaluation Script
Posted on Nov 15, 2009 11:10 am
Good script CadetAndrew, keep it up.

You can also do: $!away, $!mircdir, $!idle, $!duration($idle), $!me, $!time, $!date etc.. to re-evaluate.
Kasbah
Comments: 18
 
Perl Snippet:  HTML responses
Posted on Aug 8, 2009 10:28 pm
Ohh I never knew that.. interesting but yet so simple lol, nicely done :)
Kasbah
Comments: 18
 
Perl Snippet:  d/l speed calc. + size conv.
Posted on Aug 8, 2009 10:26 pm
Brilliant Idea this.. this definately gives you a great start in improving on this, well done
Kasbah
Comments: 18
 
mIRC Snippet:  mIRC Bot Template
Posted on Dec 8, 2008 5:10 am
Nice job vsTerminus :)
Great base for modification.
Kasbah
Comments: 18
 
mIRC Snippet:  Read this before copyes a mIRC script!
Posted on Dec 7, 2008 9:02 am
Can't believe such a silly piece of code get's so much attention and discussion, I wish the useful scripts posted on Hawkee would get this much attention lol.
Kasbah
Comments: 18
 
mIRC Snippet:  Ping-Tick Skript v2.1
Posted on Dec 5, 2008 9:49 am
Any comments, suggestions or ratings ? Anyone please ?
^^ First time I have used hash tables, so not to sure on any neat secrets or tips, come guys this aint your old boring Ping script, this is certainly different.
Kasbah
Comments: 18
 
mIRC Snippet:  Read this before copyes a mIRC script!
Posted on Dec 5, 2008 9:38 am
lol yep sure does, to make it even more fun I would add "r" too
Kasbah
Comments: 18
 
mIRC Snippet:  Simple multi network away script
Posted on Dec 5, 2008 9:00 am
ermm I think the above part of
Code:
on *:text:**:#: {
if $1 != $me $+ ? { halt }
is a little bit hairy
why not just use:
Code:
alias away { .scon -a away $iif(!$1,AFK,$1-) | set %reason. [ $+ [ $network ] ] $iif(!$1,AFK,$1-) | set %away.1. [ $+ [ $network ] ] $ctime | set %awayscript. [ $+ [ $network ] ] on | amsg I am now away. $1- $+ . }
alias back { if (%awayscript. [ $+ [ $network ] ] == on) { .scon -a away | amsg I am now back from $awaymsg $+ , I was gone for: $duration($awaytime) | unset %reason. [ $+ [ $network ] ] | unset %away.1. [ $+ [ $network ] ] | set %awayscript. [ $+ [ $network ] ] off } }

on *:TEXT:$( * $+ $me $+ * ):#: {
  if (%awayscript. [ $+ [ $network ] ] == on) && (%flood [ $+ [ $address($nick,2) ] ] != on) {
    .notice $nick I am currently away. Reason: %reason. [ $+ [ $network ] ] $+ . I have been away for $duration($calc($ctime - %away.1. [ $+ [ $network ] ] ))
    set -u60 %flood [ $+ [ $address($nick,2) ] ] on
  }
}

on *:TEXT:*:?: {
  if (%awayscript. [ $+ [ $network ] ] == on) && (%flood [ $+ [ $address($nick,2) ] ] != on) {
    .msg $nick I am currently away. Reason: %reason. [ $+ [ $network ] ] $+ . I have been away for $duration($calc($ctime - %away.1. [ $+ [ $network ] ] ))
    set -u60 %flood [ $+ [ $address($nick,2) ] ] on
  }
}

And it will work across multiple networks.
Kasbah
Comments: 18
 
mIRC Snippet:  Read this before copyes a mIRC script!
Posted on Dec 5, 2008 8:28 am
This is just silly, why add something if you don't want people to add it ? Other people with other ulterior motives will now copy and paste this script to use on innocent people, shame on you Diamond. When you tell people not to eat cookie's from the cookie jar, what do they end up doing ? Btw that is not really a hack, it just changes a few things which can be so easily undone by changing your details in your chat client and once connected by using
Code:
/ns recover nick
and
Code:
/ns release nick

Changing email is not that important unless you use an O-line and setting language to 1 sets english, I think I would battle far more with greek than english lol. With 5 lines I could do a much better hack, but I am not pasting it so nananana "suffer"

This is just plain silly, please delete
Kasbah
Comments: 18
 
mIRC Snippet:  Ping-Tick Skript v2.1
Posted on Dec 3, 2008 2:13 pm
Thank you for prod in the right direction TheImrac, and you are so right, I think I prefer hash tables and was even reading that hash tables sometimes process faster than variables do.

Cleaned up and alot neater I think.
Kasbah
Comments: 18
 
mIRC Snippet:  Simple multi network away script
Posted on Dec 2, 2008 6:43 pm
What's up with all the tags ? Please keep the Tags script specific so it helps people search accurately what they are looking for.
No need to have the "/" command prefix you can just leave it out or use a "." instead to make the command execute silently.
Have a peek of what I did in my away script: http://www.hawkee.com/snippet/5231/
Kasbah
Comments: 18
 
mIRC Snippet:  Gangster RPG
Posted on Nov 29, 2008 2:59 pm
Quote:
It also seems you don't understand how the -z switch works

I sort of know how the -z switch works I read the help file lol, was just one idea to set jail to 0 but the -z switch unsets it so wasn't sure if you still needed it to be set or not, the above example was just answering Purcell's question.
Otherwise I would have done it like this, which would decrease and unset in 1 second:
Code:
var %temp 1
hadd -z $2 jail %temp

Instead of
Code:
hadd $2 jail 0


Purcell: I looked at the hash table help file for the first time ever today, so no I cannot help you as I am not skeeled enough, please Read the help file dude and please don't flood, if you have something to say and think of something later on to say, click EDIT and add what you wanted to say with your previous post.
Kasbah
Comments: 18
 
mIRC Snippet:  Gangster RPG
Posted on Nov 29, 2008 9:13 am
Great script `JoKeRĀ“
I really like the way you use hash tables and just reading through is so cool, and makes understanding hash tables so much easier. Thank you for sharing :-)

Purcell:
See I'm editing my last post ;)
Not to sure with hash tables or how others will do it, just going through quickly I would do summin like
Code:
 if ($nick isop $chan) || ($nick === YourExactNickname) {
    if ($1 == !bust) {
      if (!$2) { .notice $nick Syntax: !bust nick | halt }
      hadd $2 jail 0
    }
  }

But not sure how what other ways there are to do this unless you set a variable to 1 and use hadd -z $2 jail %variablename - but that will totally unset it *shrugs* - Trial and error I guess hey ;)
Kasbah
Comments: 18
 
mIRC Snippet:  anti slapper
Posted on Nov 26, 2008 12:46 pm
Quote:
on *:action:$($+(*,slap,*,$me,*)):#:{
if ($me isin $1-) {
describe $chan { slaps $nick }
}
}


Rather do it this way:

Quote:
on *:action:$($+(*,slap,*,$me,*)):#: {
describe $chan slaps $nick
}

OR
Quote:
on *:action:*slap*:#: {
if ($me isin $1-) {
describe $chan slaps $nick
}
}
Kasbah
Comments: 18
 
mIRC Snippet:  Gag Script (Ban) V1.0
Posted on Nov 17, 2008 3:53 pm
thanx ^Alexis^ :)
My highest rating ever lol
Kasbah
Comments: 18
 
mIRC Snippet:  Mode Lock
Posted on Nov 17, 2008 3:44 pm
Good idea to prevent other operators changing modes, depending on the version of services on the IRC server won't "/cs set #channelname mlock +modes" do the same thing ?

A few Pointers:
Quote:
if ( %lock == $null )
can be written as
Quote:
if (!%lock)
note: no spaces.

also no need for a "/" before the commands you can just write
Quote:
/mode $chan $+(+,$remove($1,-))
as
Quote:
mode $chan $+(+,$remove($1,-))
Kasbah
Comments: 18
 
mIRC Snippet:  Last Said Skript 1.0
Posted on Nov 10, 2008 5:13 pm
Ty mountaindew, fixed

Changes:
.Added Flood control of 10 seconds per nick.
.Added an Alias "/lastsaid nick".
.Fixed an error catcher.
Kasbah
Comments: 18
 
mIRC Snippet:  Silent Away Cross-Network v1.0
Posted on Oct 12, 2008 9:23 am
wow thank you so much napa182 - Been reading all about $iif() and it's usage, actually makes alot of sense lol: $iif(Condition_is_met,True,False) <-- Gosh I love it, that definately does make things alot neater and cleaner. Thank you once again napa182. Now I am so amped to see where else I can use $iif()

Thank you rhasttaff Boetie :) /me goes to see what else to do that is useful to mankind.
*types in /help what_else_can_we_get_upto and reads*

Thank you for the nice rating guys :)

**** Added napa182's suggestion to the snippet

Bottom