Jump to content

!brb command


kekku500

Recommended Posts

Posted

how i can make like if says !brb then just says [NICK] Will Be Right Back! Reason: NONE

and if says !brb toilet then says [NICK] Will Be Right Back! Reason: toilet

Posted
if ($3 == !brb) { 
;$4-:Reason 
  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 - Reason: $4- 
} 
  

Posted

thx, but how i can also make !hi command like

!hi -> [NICK] Says Hello To Everyone!

!hi raz -> [NICK] Says Hello To Raziel!

I mean it wont say raz but it will say full name, how i can do that?

Posted

on *:SIGNAL:mta.command: { 
var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$gus.getid($1,$4)),$2) 
if ($3 == !hi) || ($3 == !hello) { 
;$4-:Reason 
  if ($4- == $null) { 
    mta.text $1 $mta.nick($1,$2) says hello to everyone! 
    } 
  else mta.text $1 $mta.nick($1,$2) says hello to $mta.nick($1,%a) 
} 

- or -

on *:SIGNAL:mta.command: { 
var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$gus.getid($1,$4)),$2) 
if ($3 == !hi) || ($3 == !hello) { 
;$4-:Reason 
  if ($4- == $null) { 
    mta.text $1 $mta.nick($1,$2) says hello to everyone! 
    } 
  else mta.pm $1 %a  $mta.nick($1,$2) says hello to you! 
} 

Posted (edited)

k, here's mine for both

on *:SIGNAL:mta.command:{ 
  if ($3 == !brb) mta.text $1 $mta.nick($1,$2) will be right back! $iif($4,Reason: $4-) 
  elseif ($3 == !hi) mta.text $1 $mta.nick($1,$2) says hello to $iif($mta.getid($1,$4),$mta.nick($1,$mta.getid($1,$4)),everyone) $+ ! 
} 
  

Edited by Guest
Posted
k, here's mine for both

on* :SIGNAL:mta.command:{ 
  if ($3 == !brb) mta.text $1 $mta.nick($1,$2) will be right back! $iif($4,Reason: $4-) 
  elseif ($3 == !hi) mta.text $1 $mta.nick($1,$2) says hello to $iif($mta.getid($1,$4),$mta.nick($1,$mta.getid($1,$4)),everyone) $+ ! 
} 
  

damn you :twisted:

  • Recently Browsing   0 members

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