Jump to content

Help With Script((A))


Recommended Posts

dudes, please help me with that...

on *:SIGNAL:mta.command:{ 
 if ($3 == !wanted) { 
mta.say $1 Current Wanted Players: $mta.name($1,$2) ( $calc($readini(wanted.ini,level,$mta.name($1,$2)) + 1) ) ,
}

and if I type !wanted then server script sayng:

wanted

Current Wanted Players: VCP-Crazy ( 1 ) ,

!writeini -n "C:\Program Files\mIRC\wanted.ini" VCP-Crazy Level 1

....

wtf is wrong? and more players is wanted... but it only shows me:S please help me guys! really thanks! please fix this script!=(=)

Link to comment

Next time post in Add-ons section ;)

on *:SIGNAL:mta.command:{
 if ($3 == !wanted) {
   var %a = 0,%b
   while (%a <= $mta.maxplayers($1)) {
     if ($readini(wanted.ini,level,$mta.name($1,%a)) >= 1) %b = $iif(!%b,$mta.name($1,%a) ( $+ $readini(wanted.ini,level,$mta.name($1,%a)) $+ ),%b $+ $chr(44) $mta.name($1,%a) ( $+ $readini(wanted.ini,level,$mta.name($1,%a)) $+ ))
   }
   mta.say $1 Current Wanted Players: $mta.name($1,$2) ( $calc($readini(wanted.ini,level,$mta.name($1,$2)) + 1) ) ,
 }
}

P.S: Try to avoid double posting, or just remove your second topic/post if it happened

Link to comment
Next time post in Add-ons section ;)

on *:SIGNAL:mta.command:{
 if ($3 == !wanted) {
   var %a = 0,%b
   while (%a <= $mta.maxplayers($1)) {
     if ($readini(wanted.ini,level,$mta.name($1,%a)) >= 1) %b = $iif(!%b,$mta.name($1,%a) ( $+ $readini(wanted.ini,level,$mta.name($1,%a)) $+ ),%b $+ $chr(44) $mta.name($1,%a) ( $+ $readini(wanted.ini,level,$mta.name($1,%a)) $+ ))
   }
   mta.say $1 Current Wanted Players: $mta.name($1,$2) ( $calc($readini(wanted.ini,level,$mta.name($1,$2)) + 1) ) ,
 }



oh lol ! really thanks for helping!!!! :))
}

P.S: Try to avoid double posting, or just remove your second topic/post if it happened

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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