Skip to content

Commit

Permalink
Merge pull request #4 from TheAbmin/patch-1
Browse files Browse the repository at this point in the history
Fix syntax error in RAWMODE event
  • Loading branch information
ElectronicWar committed Mar 25, 2016
2 parents 9580e3d + df373f7 commit 073666a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/main.nbs
Original file line number Diff line number Diff line change
Expand Up @@ -4358,8 +4358,13 @@ on ^*:RAWMODE:#:{
}
echo $color(mode) -ti4 # $npre $+  $nick $par(4 $+ $1) $2- $iif(%o == 1,$par(F6: ban))
}
else $iif($hget(netsplit, [ [ $cid ] $+ ] . [ $+ [ $2 ] ]),.timer -m 1 1900) echo $color(mode) -ti4 # $npre $+  $nick $par($1) $iif($2,$2-,#)
if ($me isin $2) && ($hget(nbs,popup_other) == 1) n.ptext # $chr(1) Channel mode: # $chr(1) $npre $+  $nick $par($1) $replace($2-,$me, $+ $me $+ ) $iif($cid != $activecid,$par($network))
else {
$iif($hget(netsplit, [ [ $cid ] $+ ] . [ $+ [ $2 ] ]),.timer -m 1 1900)
echo $color(mode) -ti4 # $npre $+  $nick $par($1) $iif($2,$2-,#)
}
if ($me isin $2) && ($hget(nbs,popup_other) == 1) {
n.ptext # $chr(1) Channel mode: # $chr(1) $npre $+  $nick $par($1) $replace($2-,$me, $+ $me $+ ) $iif($cid != $activecid,$par($network))
}
}
on ^*:DEOP:#:{
if ($opnick == $me) {
Expand Down

0 comments on commit 073666a

Please sign in to comment.