Jump to content

Display fullnick on commands


FNdanielNL

Recommended Posts

How do i make this so that if you only use a part of the nick he does display the full nick?

so something like this:

!cookie Alp

Admin Player gives Alpha a cookie :D

so not:

!cookie Alp

Admin Player gives Alp a cookie :D

I tried something whit this, but it doesn't work??

  elseif ($3 == !cookie) mta.text  $1 $mta.nick($1,$2) gives $mta.nick($1,$+(*,$4-,*)) a cookie 

Link to comment
try this

 elseif ($3 == !cookie) mta.text $1 $mta.nick($1,$2) gives $mta.nick($1,%a) a cookie 

will not work if you don't run one of those scrips that predefine %a so you have to have this line under mta.command signal:

 var %a = $iif($4,$iif($mta.getid($1,$4),$v1,-1),$2) 

Link to comment
  • Recently Browsing   0 members

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