Master-Of-Death

Master-Of-Death

Joined
Aug 06, 2009
Occupation
Student
Location
Hartlepool, North East, England
Website
Interests
mirc, scripting, gaming, football and girls

Activity Stream

Master-Of-Death commented on a Page, iKnown>> Tease Op  -  Jan 20, 2010

firstly you do not need:

if ($chan)

secondly if it is for op's only you should really have it like this:

on @:TEXT:!tease:#:{
raw -q MODE # +o-o $2 $2
}

Much shorter and easier to process.

 Respond  
Master-Of-Death commented on a Page, Useful aliases  -  Jan 20, 2010

Sorry Jethro_ I was in a rush and didn't have time to check it, next time I will.

 Respond  
Master-Of-Death commented on a Page, Useful aliases  -  Jan 20, 2010

You can combine the top two into on on INPUT event by using regex and $iff

Syntax = < +/- qaohv > < $2 >

on $*:INPUT:/((\+|-)(\S+))/:#:{ 
raw -q MODE # $regml(1) $iif(!$2, $me, $2)
}
[/code}

or if you want to keep it in an alias you could use:

alias amode {
raw -q MODE # $1- $iif(!$2, $me, $2)
}

 Respond  
Master-Of-Death created a Page  -  Jan 14, 2010
590 

Paste and Save in your remotes.

  1 Thread   mIRC  
Master-Of-Death created a Page  -  Jan 14, 2010
1 311 

Paste and Save into your remotes.

  1 Thread   mIRC  
Master-Of-Death created a Page  -  Jan 14, 2010
2,289 

Paste and save it into your remotes.

Master-Of-Death commented on a Page, Assistance Snippet  -  Jan 12, 2010

go for hash > .txt as hash saves the disk heads and is more efficient.

 Respond  
Master-Of-Death commented on a Page, Kick Counter  -  Jan 11, 2010

lol what's an un-friendly code opposed to a friendly one?

 Respond  
Master-Of-Death commented on a Page, Kick Counter  -  Jan 09, 2010

oh yea lol thx gooshie

 Respond  
Master-Of-Death commented on a Page, Twitter Bot  -  Jan 09, 2010

brilliant script! 8/10

 Respond  
Master-Of-Death commented on a Page, Kick Counter  -  Jan 09, 2010

This is not a script all you have done virtually is take the mirc basic alias command and added inc %counter to the end.
Not to mention you have to add a channel name.

alias ck {
inc %counter 1
.raw -q kick # $2- %counter
}

Syntax: /ck

 Respond  
Master-Of-Death commented on a Page, Anti-Spambot  -  Jan 09, 2010

This was as much as I could simplify and correct for efficiency.

on *:LOAD:{
install
echo -a Script installed enjoy.
}
on $*:TEXT:/ $+ %regex $+ %swear $+ ) $+ /S:#:{
if ($ulevel == add) {
if (!$1) {
msg # Type: !commands for correct syntax.
}
elseif (!$2) {
msg # Type: !commands for correct syntax.
}
elseif ($regml(2) == add) {
.auser -a add $2
msg # Added User: $2 $+ .
}
elseif ($regml(2) == commands) {
msg $nick The Command Syntax list:
msg $nick !add <nick>
msg $nick !addword <word>
msg $nick !del <nick>
msg $nick !delword <word>
msg $nick End of Syntax list.
}
elseif ($regml(2) == del) {
.ruser $2
msg # Deleted User: $2 $+ .
}
}
elseif ($regml(2) == addword) {
set %regex %regex $+ | $+ $2
msg # Added $2 $+ .
}
elseif ($regml(2) == delword) {
set %regex $remove(%regex,| $+ $2)
msg # Deleted $2 $+ .
}
elseif ($regex($1-,%swear) {
inc %kickcount. [ $+ [ $nick ] ]
ban -ku $+ %ban $nick 2 (%ban Seconds Ban) (Badword: $regml(3)) Kickcount: %kickcount. [ $+ [ $nick ] ]
}
}
alias -l install {
set %regex (!)(|add|del|delword|addword|commands)
set %swear (fuck|shit|cunt|nigg(0|3|e|a)r?|hurensohn|bitch|wh(0|o)r(3|e
auser -a add $input(Enter the Admin Username,e,admin)
var %ban $input(Enter desired ban time,e,ban)
}

Sorry about the filtered words i'm sure you can figure out what they were.

DAMN YOU HAWKEE FILTERS!!!

 Respond  
Master-Of-Death commented on a Page, Assistance Snippet  -  Jan 09, 2010

same Jethro_

 Respond  
Master-Of-Death commented on a Page, Long Ping Reply FLOOD  -  Jan 07, 2010
ctcp 1:PING:{ var %i == 0
  if (!%anti [ $+ [ $nick ] ]) {
    set -u20 %anti [ $+ [ $nick ] ] 1
    .ctcpreply $nick Grr  OMG, Did you just CTCP ping me?
    .ctcpreply $nick Grr  Why did you do it?
    .ctcpreply $nick Grr  Why?!?
    .ctcpreply $nick Grr  Now I will have to torture you
    .ctcpreply $nick Grr by counting to 100
    .ctcpreply $nick Grr by using ctcp ping reply
    .timer 100 2 .ctcpreply $nick Grr $calc(%i + 1)
    .timer 1 113 ctcpreply $nick Grr Had enough yet or want some more?
    .timer 1 114 ctcpreply $nick Grr I hope you learnt your lesson
    .timer 1 115 ctcpreply $nick Grr Now go play
    .timer 1 116 ctcpreply $nick Grr And don't CTCP Ping me ever  again
    .timer 1 118 ctcpreply $nick Grr or else, you'll get another torture, I'm not joking. 
.halt
}
}
 Respond  
Master-Of-Death commented on a Page, Assistance Snippet  -  Jan 07, 2010

Neither, use hash tables, can hold as much as .txt files, but are almost as quick as variables.

 Respond  
Master-Of-Death commented on a Page, Votekick script  -  Jan 05, 2010
alias -l firetimer {
  if (%up > %down) {
    msg %kickchan Vote passed! Yes: %up - No: %down
    kick %kickchan %nick
  }
  else {
    msg %kickchan Vote Failed! Yes: %up - No: %down
  }
}

on *:text:!votekick *:#: {
  set %kickchan #CHANNEL
  set %kicktime 15
  set %exceptions
  if (%voteon == on) {
    notice $nick A votekick is already taking place.
  }
  else {
    if ($nick isop %kickchan) {
      set %nick $$2
      set %voteon on
      if (%voteon == on) {
        .timer 1 %kicktime firetimer
        .timer 1 %kicktime set %voteon off
        .timer 1 %kicktime unset %voted
        .timer 1 %kicktime set %up 0
        .timer 1 %kicktime set %down 0
        set %voteon on
        msg %kickchan Voting to kick %nick has started. Type !yes or !no to vote.
      }
    }
    else {
      notice $nick You need to be a channel operator to call a votekick.
      halt
    }
  }
}

on *:text:!yes:#: {
  if ($istok(%voted,$address,32)) {
    notice $nick You have already voted.
    halt
  }
  if (%voteon == off) {
    notice $nick Voting is currently off.
    halt
  }
  else {
    %voted = $addtok(%voted,$address,32)
    inc %up 1
    msg %kickchan Yes: %up - No: %down
  }
}

on *:text:!no:#: {
  if ($istok(%voted,$address,32)) {
    notice $nick You have already voted.
    halt
  }
  if (%voteon == off) {
    notice $nick Voting is currently off.
    halt
  }
  if (%voteon == on) {
    %voted = $addtok(%voted,$address,32)
    inc %down 1
    msg %kickchan Yes: %up - No: %down
  }
}

Revised to be a game for channels.

 Respond  
Master-Of-Death commented on a Page, Another AwaySystem  -  Jan 04, 2010

napa182 congratz on your 1500th comment, aliases would be easier D3ath. although they are less interactive.

 Respond  
Master-Of-Death commented on a Page, Commands  -  Jan 04, 2010

why make it so lengthy? this is simpler:

on $@*:TEXT:((!)(join|part|(un)?ban|(de)?admin|\S+)):#:{
if ($regml(3) == (join|part)) {
$regml(3) $2
}
elseif ($regml(3) == ban) {
.raw -q mode # +b $address($2,2)
}
elseif ($regml(3) == unban) {
.raw -q mode # -b $address($2,2)
}
elseif ($regml(3) == deadmin) {
.cs deprotect # $2
}
elseif ($regml(3) == admin) {
.cs protect # $2 
}
else {
.cs $regml(3) # $2
}
 Respond  
Master-Of-Death commented on a Page, commands  -  Jan 04, 2010

nice but you can even shorten it to this:

on $@*:TEXT:(!)(join|part|\S+):#:{
if ($regml(2) == (join|part)) {
. $+ $regml(2) $2
}
else {
.cs $regml(2) # $nick
}
}
 Respond  
Master-Of-Death commented on a Page, commands  -  Jan 04, 2010

whats a nick script

who mentioned a nick script?

 Respond  
Master-Of-Death commented on a Page, commands  -  Jan 04, 2010

Good point Jethro_ I forgot about that.

 Respond  
Master-Of-Death commented on a Page, commands  -  Jan 04, 2010
  1. Your correct about the @

  2. Your wrong about the $remove, without it $regml(1) returns !deop instead of deop making /cs deop # $nick invalid.
 Respond  
Master-Of-Death commented on a Page, commands  -  Jan 04, 2010

could use this:

on $*:TEXT:((!op|!deop|!protect|!deprotect|!halfop|!dehalfop|!voice|!devoice|!join|!part)):#:{
if ($me !isop #) { 
.halt
}
elseif ($regml(1) == (!join|!part)) { 
. $+ $remove($regml(1),!) $2
}
else { 
.cs $remove($regml(1),!) # $nick
}
}

regex ftw!

 Respond  
Master-Of-Death commented on a Page, Lottery  -  Jan 04, 2010

huh a ranking system?

 Respond  
Master-Of-Death commented on a Page, ECHO SCRIPT  -  Jan 03, 2010

nice bit of regex gooshie.

 Respond  
Master-Of-Death commented on a Page, Yo dawg  -  Dec 31, 2009

lol @ Jethro_.

 Respond  
Master-Of-Death commented on a Page, Bad Word Kick/Ban  -  Dec 30, 2009

btw congratz on the 100+ commenmts and the stupid blocker ironically blocked the example I tried to show you.

 Respond  
Master-Of-Death commented on a Page, Bad Word Kick/Ban  -  Dec 30, 2009

on my server people use slang aswell as normal swear words so if you said mofo in full they'd say m0th3rfuck3r hence why i used (x|y) alot.

 Respond  
Master-Of-Death commented on a Page, Bad Word Kick/Ban  -  Dec 30, 2009

works perfectly just tried it.

 Respond  
Master-Of-Death commented on a Page, Yo dawg  -  Dec 30, 2009

Excuse me I did not be rude to you, so do not be rude to me, I think you should lose the attitude and learn to be more mature when discussing things, arrogance will get you nowhere in life.

 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.