Jump to content

!brb command


Guest CBR

Recommended Posts

Posted

This is mine:

on *:SIGNAL:mta.command: {
if ($3 == !away) {
   mta.say $1 $mta.name($1,$2) setted his status on away.
   set %away. [ $+ [ $1 ] $+ . $+ [ $2 ] ] away
 }
 if ($3 == !brb) {
   mta.say $1 $mta.name($1,$2) setted his status on be right back.
   set %away. [ $+ [ $1 ] $+ . $+ [ $2 ] ] brb
 }
 if ($3 == !setstatus) {
   if ($4 != $null) {
     mta.say $1 $mta.name($1,$2) setted his status on $4
     set %away. [ $+ [ $1 ] $+ . $+ [ $2 ] ] $4
   }
   else mta.say $1 $mta.name($1,$2) Syntax: !setstatus 
 }
if ($3 == !pa) {
   unset %pa
   set %countpa 0
   while (%countpa <= $mta.maxplayers($1) ) {
     if ($mta.name($1,%countpa) != Unknown) && (%away. [ $+ [ $1 ] $+ . $+ [ %countpa ] ]) {
       if (%pa == $null) {
         %pa = $mta.name($1, %countpa) ( $+ %away. [ $+ [ $1 ] $+ . $+ [ %countpa ] ] $+ )
       }
       else {
         %pa = %pa $+ , $mta.name($1, %countpa) ( $+ %away. [ $+ [ $1 ] $+ . $+ [ %countpa ] ] $+ )
       }
     }
    !inc %countpa
   }
   if ( %pa == $null ) {
     mta.say $1 No people have a away status.
   }
   else {
     mta.say $1 Statuses: %pa
   }
   unset %pa
   unset %countpa
 }
}

Maybe is the english wrong :P

OMG!

Posted

Your wrong Niels, every scripter knows.

"Never argue with an idiot. They bring you down to their level and beat you with experience."

"Arguing on the internet is like the Special Olympics. Even if you win, you're still retarded."

signature.gif

Posted
mta.say $1 $mta.name($1,$2) setted his status on be right back.

love it! :D

Hahahahahahahahahahaha..

Oh my g...

/me is going to buy a 'english for dummies' booklet and send it to the poor Niels...

av.png

Posted
/me is going to buy a 'english for dummies' booklet and send it to the poor Niels...

That's:

"... an 'English for Dummies' booklet ..."

Anyways, cool scripts! :lol:

selzi_graff.png
Posted

Got to buy a new keyboerd as well :P Ah well... im not English as well.. writing nouns with capitals is german.. and i dont wanna write german in here ;)

av.png

Posted

Warum nicht? Es ist doch Spass!

"Never argue with an idiot. They bring you down to their level and beat you with experience."

"Arguing on the internet is like the Special Olympics. Even if you win, you're still retarded."

signature.gif

  • Recently Browsing   0 members

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