Tritan Theme

By D34th on Jan 08, 2010

If you have gone through some of my other script you may know that i am makeing a new script called Tritan - iRc and i have been uploading some of the snippets of code to get input on them and this is my theme for it and i wanted to see what you all think of it you do need to have a timestamp for it to work correctly so here it is and i hope you like it please give suggestions and you may need to add color codes before "10" and "15" if you cannot figure it out you can contact me on chat.junglespot.com 7000 -j #GothCave i go by nicks "MaddnesS" "WraithRIOT" "Angel_Of_Death" and of course "Death"

on *:Load:{
  Echo -a 10(15You have just loaded Tritan - iRc Theme By Death10)
}
on ^*:TEXT:*:#:{
  if ($nick isop $chan) {
    echo $chan $timestamp 10(15 $+ 3@15 $+ $nick $+ 10) $1-
    goto end
  }
  elseif ($nick ishop $chan) {
    echo $chan $timestamp 10(15 $+ 3@15 $+ $nick $+ 10) $1-

    goto end
  }
  elseif ($nick isvoice $chan) {
    echo $chan $timestamp 10(15 $+ 3+15 $+ $nick $+ 10) $1-
    goto end
  }
  else { 
    echo $chan $timestamp 10(15 $+ $nick $+ 10) $1-

  }
  :end
  haltdef
}
on ^*:TEXT:*:?:{
  echo $nick $timestamp 10(15 $+ $nick $+ 10) $1-
  haltdef
}
on *:INPUT:#:{ 
  if (/ !isin $left($1,1)) {
    if ($me isop $chan) {
      echo -a $timestamp 10(15 $+ 3@15 $+ $nick $+ 10) $1-
      goto end
    }
    elseif ($me ishop $chan) {
      echo -a $timestamp 10(15 $+ 3@15 $+ $nick $+ 10) $1-
      goto end
    }
    elseif ($me isvoice $chan) {
      echo -a $timestamp 10(15 $+ 3+15 $+ $nick $+ 10) $1-
      goto end
    }
    else { 
    echo -a $timestamp 10(15 $+ $nick $+ 10) $1-   }
    :end
    .privmsg $chan $1-
    haltdef
  }
}

on *:INPUT:?:{
  if (/ !isin $left($1,1)) {
    echo -a $timestamp 10(15 $+ $nick $+ 10) $1-
    .privmsg $active $1-
    haltdef
  }
}
alias hop {
  if ($chan != $null) {
    echo -a $timestamp 10(15 $+ Hopping $chan $+ 10)
    /.hop
    halt
  }
  if ($chan == $null) {
    echo -a 10(15 $+ Error You Are Not On $chan $+ 10) 
    halt
  }
}
on ^*:JOIN:#:{  
  echo $Chan $timestamp 10(15 $+ Join $+ 10) $+ (15 $+ $nick $+ 10) $+ (15 $address($nick,1) $+ 10)  
  haltdef
}
on ^*:part:#:{ 
  if ($nick == $me) { halt }
  if ($1-) { 
    echo $chan $timestamp 10(15 $+ Part $+ 10) $+ (15 $+ $nick $+ 10) $+ (15 $address($nick,1) $+ 10)  
  }
  if (!$1-) { 
  echo $chan $timestamp 10(15 $+ Part $+ 10) $+ (15 $+ $nick $+ 10) $+ (15 $address($nick,1) $+ 10)  }
  haltdef
}
on ^*:RAWMODE:#:{
  echo $chan $timestamp 10(15 $+ Mode Change $+ 10) $+ (15 $+ $nick Set mode $1- in $chan $+ 10)
  haltdef
}
on ^*:QUIT:{
  var %p = 0 | while (%p < $comchan($nick,0)) { inc %p | echo $comchan($nick,%p) $timestamp 10(15 $+ Quit $+ 10) $+ 10(15 $+ $remove($nick,$mid($1,1, $+ $pos($1,~,2))) $+ 10) $+ 10(15 $+ Reason $+ : $+ $iif($1- == $null || $1 == quit:,No Reason Specified.,$1-) $+ 10)
    haltdef
  }  
}
on ^*:NICK:{
  var %i = 0 | while (%i < $comchan($newnick,0)) { inc %i | echo $comchan($newnick,%i) $timestamp 10(15 $+ Nick Change $+ 10) (15 $+ $nick Is Now $newnick 10) 
    haltdef
  }
}
on ^*:NOTICE:*:*:{
  if ($activecid == $cid) {
    if ([Welcome- isin $1-) && ($nick == $me) echo $remove($1,[Welcome-,]) $timestamp 10(15 $+ Greet $+ 10) $2-
    if ([Welcome- !isin $1-) echo -a $timestamp 10(15 <- Notice From $nick $+ 10) (15 $+ Msg: $1- $+ 10)
    HALT
  }
  if ($activecid != $cid) {
    if ([Welcome- isin $1-) && ($nick == $me) echo $remove($1,[Welcome-,]) $timestamp 10(15 $+ Greet $+ 10)
    if ([Welcome- !isin $1-) {
    if ([Welcome- !isin $1-) echo -a $timestamp 10(15 <- Notice From $nick $+ 10) (15 $+ Msg: $1- $+ 10)    }
    haltdef
  }
}

.privmsg $chan $1-

alias msg {
  if ($me isop $1) {
    echo $1 $timestamp 10(15 $+ $me $+ 10) $2-
    goto end
  }
  if ($me ishop $1) {
    echo $1 $timestamp 10(15 $+ $me $+ 10) $2-
    goto end
  }
  if ($me isvoice $1) {
    echo $1 $timestamp 10(15 $+ $me $+ 10) $2-
    goto end
  }
  else { 
    echo $1 $timestamp 10(15 $+ $me $+ 10) $2-
    goto end
  }
  :end
  .privmsg $1 $2-
  haltdef
}
alias notice {
  echo -a $timestamp 10(15 $+ -> For $1 $+ 10) 10(15 Msg: $2- $+ 10)
  .notice $1 $2-
  haltdef
}

on ^*:INVITE:*:{
  if ($activecid == $cid) {
    echo -a $timestamp 10(15 $+ $nick invites you to $chan $+ 10)
    haltdef
  }
  if ($activecid != $cid) {
    echo -a $timestamp 10(15 $+ $nick invites you to $chan $+ 10)
    haltdef
  }
}
on ^*:TOPIC:*:{
  if ($1-) {
    echo $chan $timestamp 10(15 $+ Topic Change By $nick $+ 10) 10( $+ $1- $+ 10)
  }
  if (!$1-) {
  echo $chan $timestamp 10(15 $+ Topic Change By $nick $+ 10) 10( $+ $1- $+ 10)  }
  haltdef
}
on ^*:snotice:*:{
  echo -a $timestamp 10(15 $+ Server Notice $+ 10) $+ 10(15 $+ $2- $+ 10)
  haltdef
}
raw 311:*:{
  Echo -a 10(15 Nick: $2 10) 
  Echo -a 10(15 Host: $3 $+ @ $+ $4 10)
  Echo -a 10(15 name: $6- 10)
  halt
}
raw 312:*:Echo -a 10(15 Server: $3 10) | halt
raw 319:*:Echo -a 10(15 Channels: $3- 10) | halt
raw 317:*:Echo -a 10(15 Idle: $duration($3) 10) | halt 
raw 313:*:Echo -a 10(15 $2- 10) | halt
raw 301:*:Echo -a 10(15 Away: $3- 10) |halt
raw 318:*:halt

Comments

Sign in to comment.
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.