mIRC Home    About    Download    Register    News    Help

Print Thread
#42082 15/08/03 04:05 PM
Joined: Aug 2003
Posts: 73
D
Babel fish
OP Offline
Babel fish
D
Joined: Aug 2003
Posts: 73
i made this little script and it wont work y not can u help

code:
---------------------------------------------------------------------------

on *:input:*: {
if ((%autoaway == on) && (%away != on) && ($server != $null)) { .timerautoaway 1 %autoawayt /auto-away }
inc %numoflines | if (%numofletters >= 10000000000000000000) { set %numofletters 0 | set %numofletters2 $calc( %numofletters2 + 1 ) } | set %numofletters $calc( %numofletters + $strip($len($1-)) )
inc %stat_lines
if (%switchbar == on) { switchbar2 }
statsave
if ($left($1,1) = /) { goto ended }
if ($active == Status Window) { if ($mid($1,1,1) = /) { goto end } | else echo -ts $begme Status Window: $endme  $+ $1- | halt }
if (%fun != on) {
if ($1- == $null) { .msg $active $1- | halt }
if (%allowclrs == on) {
set %2- $2-
set %_netlet $1
if ($ntalk(%_netlet) == yes) { set %_nettalk $begme %_netphrase $checkend | .msg $active %_nettalk | halt }
if (cba == $1) { set %_nettalk $begme cant be arsed !! $checkend | .msg $active %_nettalk | halt }
if (bbiab == $1) { set %_nettalk $begme Be back in a bit !! $checkend | .msg $active %_nettalk | halt }
if (uw == $1) { set %_nettalk $begme Your welcome $checkend | .msg $active %_nettalk | halt }
if (Wha == $1) { set %_nettalk $begme Whahaha !! $checkend | .msg $active %_nettalk | halt }
if (kd == $1) { set %_nettalk $begme Just kidding !! $checkend | .msg $active %_nettalk | halt }
if (lf == $1) { set %_nettalk $begme Lean Forward And Suck A Fart From My Arse !! $checkend | .msg $active %_nettalk | halt }
if (omw == $1) { set %_nettalk $begme On my way $checkend | .msg $active %_nettalk | halt }
if (jk == $1) { set %_nettalk $begme Joking !!! $checkend | .msg $active %_nettalk | halt }
.msg $active $1- | halt
}

---------------------------------------------------------------------------

Help? confused

Thx


IRC (Idiots Relay Chat) :tongue:

{]TDN[}Deadly-Sin
#42083 15/08/03 04:17 PM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
Code:
on *:input:*: {
  if ((%autoaway == on) && (%away != on) && ($server != $null)) { .timerautoaway 1 %autoawayt /auto-away }
  inc %numoflines
  if (%numofletters >= 10000000000000000000) { 
    set %numofletters 0 
    set %numofletters2 $calc( %numofletters2 + 1 ) 
  }
  ;Just some formatting

  set %numofletters $calc( %numofletters + $strip($len($1-)) )
  inc %stat_lines
  if (%switchbar == on) { switchbar2 }
  statsave

  if ($left($1,1) == /) { goto ended }
  ;missing "=", where is ended label??

  if ($active == Status Window) { 
    if ($mid($1,1,1) = /) { goto end }
    else echo -ts $begme Status Window: $endme  $+ $1-
    halt 
  }
  if (%fun != on) {
    if ($1- == $null) { .msg $active $1- | halt }
    ;why would you want to send $null to anywhere?
    if (%allowclrs == on) {
      set %2- $2-
      set %_netlet $1
      if ($ntalk(%_netlet) == yes) { set %_nettalk $begme %_netphrase $checkend | .msg $active %_nettalk | halt }
      if (cba == $1) { set %_nettalk $begme cant be arsed !! $checkend | .msg $active %_nettalk | halt }
      elseif (bbiab == $1) { set %_nettalk $begme Be back in a bit !! $checkend | .msg $active %_nettalk | halt }
      elseif (uw == $1) { set %_nettalk $begme Your welcome $checkend | .msg $active %_nettalk | halt }
      elseif (Wha == $1) { set %_nettalk $begme Whahaha !! $checkend | .msg $active %_nettalk | halt }
      elseif (kd == $1) { set %_nettalk $begme Just kidding !! $checkend | .msg $active %_nettalk | halt }
      elseif (lf == $1) { set %_nettalk $begme Lean Forward And Suck A Fart From My Arse !! $checkend | .msg $active %_nettalk | halt }
      elseif (omw == $1) { set %_nettalk $begme On my way $checkend | .msg $active %_nettalk | halt }
      elseif (jk == $1) { set %_nettalk $begme Joking !!! $checkend | .msg $active %_nettalk | halt }
      ;some formatting

      .msg $active $1- | halt 
    }
  }
}
;missing brackets


just some what i spotted...


Code:
//if ( khaled isgod ) echo yes | else echo no

Link Copied to Clipboard