-.-Raw Events-.-

By SL on Aug 21, 2004

just load it, if mIRC gives an error it should echo it in status, for rawmodes that u find which I have not added please mail me at slc@webmail.co.za
Allso when u are opped and so on you will say thanx to the person accept if it is chanserv, allso I added a code that will notify you when somebody uses you're name in a channel wich for me is very usefull...

raw *:*: {
  if ($numeric == 401) { 
    echo -s 10,0=================================4 whois $2 10=================================
    if ($chr(35) isin $2) { echo -s 7,0 $+ $2 $+  6There is no room named 7 $+ $2 $+  6 on $server }
    else { echo -s 7,0 $+ $2 $+  6There is no nick named 7 $+ $2 $+  6 on $server }
    halt
  }
  if ($numeric == 421) { echo -s 7,0 $+ $2 $+  6Is not known to ScriptorZ | halt }
  if ($numeric == 311) { echo -s 10,0=================================4 whois $2 10================================= | echo -s 7,0 $+ Mask0...1 :6 $3- | halt }
  if ($numeric == 307) { echo -s 7,0User0...1 :6 Is regestered on | halt }
  if ($numeric == 319) { echo -s 7,0Room(s)1 :6 $3- | halt }
  if ($numeric == 312) { echo -s 7,0Server0.1 :6 $3 4 $+ $4- | halt }
  if ($numeric == 317) { echo -s 7,0Idle0...1 :6 have been on IDLE for4 $duration($3) | halt }
  if ($numeric == 318) { echo -s 10,0=================================4 $chr(29) $+ END $+ $chr(29) $2 10================================= | halt }
  if ($numeric == 404) { echo -s 6,0You must join7 $2 6before you can send message to it | halt }
  if ($numeric == 473) { echo -s 6,0You need to be invited to7 $2 6first before you can join | halt }
  if ($numeric == 332) { echo -s 10,0================================4 Nicklist $2 10================================ | echo -as 7,0Topic1 :6 $3- | halt }
  if ($numeric == 333) { halt }
  if ($numeric == 353) { echo -s 7,0Users1 :6 $4- | halt }
  if ($numeric == 366) { halt }
  if ($numeric == 324) { echo -s 7,0Modes1 :6 $3- | echo -s 10,0================================4 Nicklist $2 10================================ | halt }
  if ($numeric == 329) { halt }
  if ($numeric == 475) { echo -s 10,0Key 6You need a password to join7 $2 | halt }
  if ($numeric == 471) { echo -s 7,0Full6,0 It seems7 $2 6 is full, you might try later on | halt }
  if ($numeric == 474) { echo -s 7,0Banned6 You cannot join7 $2 6you are BANNED | halt }
  if ($numeric == 378) { echo -s 7,0From0...1 :6 $3- | halt }
  if ($numeric == 313) { echo -s 7,0IRC OP0.1 :6 $3- | halt }
  if ($numeric == 310) { echo -s 7,0IRC OP0.1 :6 $3- | halt }
  if ($numeric == 491) { echo -s 7,0Error0..1 :6 You're password or nick enterred is incorrect, please this is case sensetive | halt }
  if ($numeric == 381) { echo -s 7,0IRC OP0.1 :6 $2- | halt }
  if ($numeric == 8) { echo -s 7,0IRC OP0.1 :6 The servers notice masks is 10-->7 $right($left($5,$calc($len($5) -1)),$len($5)) | halt }
  if ($numeric == 376) { echo -s 7,0MOTD1 :6 End of intro | halt }
  if ($numeric == 422) { echo -s 7,0MOTD0.1 :6 MOTD file is missing | halt }
  if ($numeric == 434) { echo -s 7,0RULES1 :6 No rules file found on $server $+ , so do what you want to do | halt }
  if ($numeric == 2) { halt }
  if ($numeric == 4) { halt }
  if ($numeric == 5) { halt }
  if ($numeric == 1) { echo -s 7,0Name0.1 :6 $2- | halt }
  if ($numeric == 3) { echo -s 7,0Age0..1 :6 $2- | halt }
  if ($numeric == 251) { echo -s 7,0Users1 :6 $2 $3 10 $+ $4 6 $+ $5 $6 10 $+ $7 6 $+ $8 $9 10 $+ $10 6 $+ $11- | halt }
  if ($numeric == 255) { echo -s 7Users1 :6 $2 $3 10 $+ $4 6 $+ $5 $6 10 $+ $7 6 $+ $8- | halt }
  if ($numeric == 265) { echo -s 7Users1 :6 $2 $3 $left($4,5) 10 $+ $5 6 $+ $left($6,3) 10 $+ $7- | halt }
  if ($numeric == 266) { echo -s 7Users1 :6 $2 $3 $left($4,5) 10 $+ $5 6 $+ $left($6,3) 10 $+ $7- | halt }
  if ($numeric == 375) { halt }
  if ($numeric == 372) { echo -s 1,0 $3- | halt }
  if ($numeric == 499) { echo -s 7,0ERROR1 :6 Only the owner of7 $2 6can do this | halt }
  if ($numeric == 252) { echo -s 7,0Opers1 :10 $2 6 $+ $3- | halt }
  if ($numeric == 254) { echo -s 7,0Chans1 :10 $2 6 $+ $3- | halt }
  if ($numeric == 301) { echo -s 7,0Away0...1 :6 $2 is not here, is away for10 $3- | halt }
  if ($numeric == 306) { echo -s 7,0Away0...1 :6 You have been set away, enjoy | halt }
  if ($numeric == 305) { echo -s 7,0Away0...1 :6 You have been set back | halt }
  if ($numeric == 461) { echo -s 7,0OPER0...1 :6 You did not do the command correctly $chr(123) /oper <nick> <password> $chr(125) | halt }
  if ($numeric == 335) { echo -s 7,0BOT0....1 :6 No use to talk to10 $2 6it is a BOT | halt }
  if ($numeric == 433) { echo -s 7,0Nick0...1 :6 Somebody else is allready using this nickname, doing a whois on10 $2 | whois $2 | halt }
  if ($numeric == 432) { echo -s 7,0Nick0...1 :6 That nick does not appear to be vallid10 $3- | halt }
  if ($numeric == 431) { echo -s 7,0WhoIs0..1 :6 You forgot to give the nickname | halt }
  if ($numeric == 438) { echo -s 7,0Nick0...1 :6 Take it calm, you may not change you're ick to ofte during a sertain amount of time | halt }
  if ($numeric == 341) { echo -s 7,0Invite0.1 :6 $1 have invited $2 to $3 | halt }
  if ($numeric == 403) { echo -s 7,0Room00..1 :6 $2 $+ , the room does not exist | halt }
  else { echo -s $numeric $1- | halt }
}
on @1:RAWMODE:#: {
  if ($nick == chanserv) { halt }
  else {
    if ($me isin $1-) {
      if ((+ isin $1-) && (o isin $1-)) { msg $chan 7,0OPER1 :6 Thanx for the 10@7 $+ $me 6 $+ $nick }
      if ((+ isin $1-) && (a isin $1-)) { msg $chan 7,0PROTECT1 :6 Thanx for the 10&7 $+ $me 6 $+ $nick }
      if ((- isin $1-) && (a isin $1-)) { msg $chan 7,0PROTECT1 :6 Somebody stole my 10&7 $+ $me 6it was you $nick }
      if ((+ isin $1-) && (q isin $1-)) { msg $chan 7,0FOUNDER1 :6 Thanx for the 10~7 $+ $me 6 $+ $nick }
    }
  }
}
on 1:deop:#: {
  if (($opnick == $me) && ($nick != chanserv)) { msg $chan 7,0OPER1 :6 Somebody stole my 10@7 $+ $me 6it was you $nick }
}
on 1:voice:#: {
  if (($vnick == $me) && ($nick != chanserv)) { msg $chan 7,0VOICE1 :6 Thanx for the 10+7 $+ $me 6 $+ $nick }
}
on 1:devoice:#: {
  if (($vnick == $me) && ($nick != chanserv)) { msg $chan 7,0VOICE1 :6 Somebody stole my 10+7 $+ $me 6it was you $nick }
}
on 1:text:*:#: {
  if (($istok($1-,$me,32) == $true) && ($chan != $active)) { echo -a 7,0Nick1 :6 $+ $nick have just said you're nickname in $chr(161) $+ $chan $+ $chr(161) on $chr(161) $+ $server $+ $chr(161) $chr(161) $+ $time $+ $chr(161) | beep 3 }
}
on 1:action:*:#: {
  if (($istok($1-,$me,32) == $true) && ($chan != $active)) { echo -a 7,0Nick1 :6 $+ $nick have just said you're nickname in $chr(161) $+ $chan $+ $chr(161) on $chr(161) $+ $server $+ $chr(161) $chr(161) $+ $time $+ $chr(161) | beep 3 }
}

Comments

Sign in to comment.
Soxide   -  Aug 31, 2004

well i never used this script but i would like to say thx because it give me an idea on what to add to my script

 Respond  
SL   -  Aug 29, 2004

Thanx for the reply, but $awaymsg is only to be used for u\'rself and the other persons client wont be able to c it with that so you use a $3- or whatever the case of the clients replying the awaymessage of the person, I am updating it now, I have allot of net commands

 Respond  
xDaeMoN   -  Aug 24, 2004

Here\'s the other raw events that you missed. I know there\'s more. =): if ($numeric == 305) { echo -a 12You are no longer marked as being Away | halt } if ($numeric == 306) { echo -a 10You have been marked as being Away -[7 $+ $awaymsg $+ ]- | halt } if ($numeric == 330) { echo -a 7 $+ $2 is logged in as $3 | halt }

 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.