Jump to content

!brb <reason> script


Keslertje2005

Recommended Posts

on *:SIGNAL:mta.command:{ 
 if ($3 == !brb) {
   mta.text $1 $mta.nick($1,$2) Will Be Right Back. $iif($4 != $null,Reason: $4-)
   if ($mta.level($1,$2) > 2) mta.freeze $1 $2
 }
 elseif ($3 == !back) {
   mta.text $1 $mta.nick($1,$2) Is Back
   if ($mta.level($1,$2) > 2) mta.unfreeze $1 $2
 }
}

theres so many different ways u can do this script...

lol all of these look ok, we could go on forever making useless scriptsbits like this. personally i would have done away with the freezing, and had it all in 1 line. its all good :lol:

Link to comment

So big fuss cause of some stupid little script :lol:

Ok, there are them for mta.level AND gus.level

There is goes:

FOR GUS:

on *:SIGNAL:mta.command:{
elseif ($3 == !brb) {
   if ($4 == $null) {
     mta.text $1 $mta.nick($1,$2) will be right back.
     if ($gus.level($1,$2) >= 3) {
       mta.freeze $1 $2
     }
   }
   else {
     mta.text $1 $mta.nick($1,$2) will be right back.
     mta.text $1 Reason: $4-
     if ($gus.level($1,$2) >= 3) {
       mta.freeze $1 $2
     }
   }
 }
 elseif ($3 == !back) {
   mta.text $1 $mta.nick($1,$2) is back.
   if ($gus.level($1,$2) >= 3) {
     mta.unfreeze $1 $2
   }
 }

...And for PRS:

on *:SIGNAL:mta.command:{
elseif ($3 == !brb) {
   if ($4 == $null) {
     mta.text $1 $mta.nick($1,$2) will be right back.
     if ($mta.level($1,$2) >= 3) {
       mta.freeze $1 $2
     }
   }
   else {
     mta.text $1 $mta.nick($1,$2) will be right back.
     mta.text $1 Reason: $4-
     if ($mta.level($1,$2) >= 3) {
       mta.freeze $1 $2
     }
   }
 }
 elseif ($3 == !back) {
   mta.text $1 $mta.nick($1,$2) is back.
   if ($mta.level($1,$2) >= 3) {
     mta.unfreeze $1 $2
   }
 }

...And without any freezing stuff:

on *:SIGNAL:mta.command:{
elseif ($3 == !brb) {
   if ($4 == $null) {
     mta.text $1 $mta.nick($1,$2) will be right back.
     }
   }
   else {
     mta.text $1 $mta.nick($1,$2) will be right back.
     mta.text $1 Reason: $4-
     }
   }
 }
 elseif ($3 == !back) {
   mta.text $1 $mta.nick($1,$2) is back.
   }
 }

This cannot be so hard anymore =D

Link to comment

BADD!!!

As Scooby said there are many ways to do this, so here is the fastest one!

on *:SIGNAL:mta.command: {
 if ($3 == !brb) mta.text $1 $mta.nick($1,$2) will be right back! $iif($4,Reason: $4-)
 elseif ($3 == !back) mta.text $1 $mta.nick($1,$2) is back!
}

so stop making scripts because it won't help anyway.

Link to comment

lol calm down :lol: its only a tiny brb/back script...

they all work, use whichever u want.

im sure by now everyone has this working just fine and theres no need for more versions, unless someone specifies they want to do other things with it other than freeze.

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...