Jump to content

!creator script


stylo

Recommended Posts

Posted
I need a scrip that if someone type in mta !creator it shows the creator of that map..

Does anybody know that script?

There's no way of knowing who made the map, it would be easy enough to add a command to manually add the makers details tho.

ScoobySig.gif

[UVA]Scooby

Founder Of UVA - Ultimate Vice Assassins

http://www.uvaclan.com/

Posted

  elseif ($3 == !addcreator) && ($mta.level($1,$2) > 2) {
   if (!$4) mta.pm $1 $2 Error: Specify Details.
   else {
     !writeini -n auth.ini details $replace($mta.race($1),$chr(32),$chr(45)) $4-
     mta.pm $1 $2 Details Saved.
   }
 }
 elseif ($3 == !remcreator) && ($mta.level($1,$2) > 2) {
   !remini -n auth.ini details $replace($mta.race($1),$chr(32),$chr(45))
   mta.pm $1 $2 Details Removed.
 }
 elseif (!creator* iswm $3) mta.text $1 $iif($readini(auth.ini,details,$replace($mta.race($1),$chr(32),$chr(45))) == $null,No Details Saved,Details: $v1)

U mean something like this?

Also, If ur using gus, change mta.level to gus.level

ScoobySig.gif

[UVA]Scooby

Founder Of UVA - Ultimate Vice Assassins

http://www.uvaclan.com/

Posted

I use GUS, I tryed it and its giving 2 messages .. First is No details set, than its === No details set,Details: or something, I changed mta.level in gus.level.. Can someone help me? Thnx :)

Posted
I use GUS, I tryed it and its giving 2 messages .. First is No details set, than its === No details set,Details: or something, I changed mta.level in gus.level.. Can someone help me? Thnx :)

well u must have made an error somewhere, urs looks like this?

elseif ($3 == !addcreator) && ($gus.level($1,$2) > 2) { 
   if (!$4) mta.pm $1 $2 Error: Specify Details. 
   else { 
     !writeini -n auth.ini details $replace($mta.race($1),$chr(32),$chr(45)) $4- 
     mta.pm $1 $2 Details Saved. 
   } 
 } 
 elseif ($3 == !remcreator) && ($gus.level($1,$2) > 2) { 
   !remini -n auth.ini details $replace($mta.race($1),$chr(32),$chr(45)) 
   mta.pm $1 $2 Details Removed. 
 } 
 elseif (!creator* iswm $3) mta.text $1 $iif($readini(auth.ini,details,$replace($mta.race($1),$chr(32),$chr(45))) == $null,No Details Saved,Details: $v1) 

ScoobySig.gif

[UVA]Scooby

Founder Of UVA - Ultimate Vice Assassins

http://www.uvaclan.com/

Posted
Yup same fault, do I have to change something in the var%? its now: var %a = $iif($4,$iif($mta.nick($1,$4) != $null,$4,$gus.getid($1,$4)),$2)

no vars are needed.

ive just tested the script and it works fine for me.

ScoobySig.gif

[UVA]Scooby

Founder Of UVA - Ultimate Vice Assassins

http://www.uvaclan.com/

  • Recently Browsing   0 members

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