stylo Posted March 14, 2007 Posted March 14, 2007 I need a scrip that if someone type in mta !creator it shows the creator of that map.. Does anybody know that script?
Scooby Posted March 14, 2007 Posted March 14, 2007 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.
stylo Posted March 15, 2007 Author Posted March 15, 2007 I mean: the bot knows the map, and (me or an other admin) added the maker to it, Anywayz i saw it on a server
Scooby Posted March 15, 2007 Posted March 15, 2007 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
stylo Posted March 16, 2007 Author Posted March 16, 2007 How does it work? something like this: when ur in a map type !addcreator ? or ...
Scooby Posted March 16, 2007 Posted March 16, 2007 How does it work?something like this: when ur in a map type !addcreator ? or ... well u can add any details u like. its up to u.
Keslertje2005 Posted March 17, 2007 Posted March 17, 2007 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
Scooby Posted March 17, 2007 Posted March 17, 2007 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)
Keslertje2005 Posted March 17, 2007 Posted March 17, 2007 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)
Scooby Posted March 17, 2007 Posted March 17, 2007 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.
Recommended Posts