Jump to content

i need a lil help


Squall

Recommended Posts

Posted
    elseif ($3 == !challangers) {
     if ($readini($scriptdir $+ Challange.ini,Challanger $mta.name($1,$2) vs $mta.name($1,%a)))
     mta.say $1 $readini(Challange.ini,Challanger,$5)
     mta.msg $1 $2 if you want to see who declined or who accecpted say !listaccecpt or !listdecline
   }
 }

it does not work plz tell me wats wrong

images2.jpg
Posted

Theoden, your scripts are far away of finished:

1. I don't even see a 'on *:SIGNAL:mta.'

2. I don't know your scripting intension's

3. You got {} error's all over the place.

4. And all you ask is a 'lil' help but what you ask is a big mofo impossible script from hell from which i have to guess what your intension's are.

Plx do the following:

1. Learn english

2. Learn scripting

3. Come back when you solved all the remaining mathematical problems of Hilbert

4. Stop posting junk scripts with no syntax, no goal, no description of how it works, no code snippets from other languages. Either that or stop posting at all.

"Never argue with an idiot. They bring you down to their level and beat you with experience."

"Arguing on the internet is like the Special Olympics. Even if you win, you're still retarded."

signature.gif

Posted

sorry again its a extention for a script which i have made

on *:SIGNAL:mta.command:{
 var %a = $iif($4,$iif($mta.name($1,$4) != Unknown,$4,$mta.getid($1,$4)),$2) {
   if ($3 == !challange) { 
     mta.say $1 $2  $mta.name($1,$2) challenges $5 $mta.name($1,%a) to a cops and robbers duel!
     mta.msg ($1,%a) if you accept say !accecpt if not say !declined
     !writeini -n " $+ $scriptdir $+ Challange.ini" Challangers $mta.name($1,$2) vs $mta.name($1,%a) 1 
   }
   elseif ($3 == !accecpt) {
     mta.say $1  $mta.name($1,$2) has accepted $mta.name($1,$2) 
     !writeini -n " $+ $scriptdir $+ Accecptees.ini" Accecpts $mta.name($1,%a) $5 1 
     !writeini -n " $+ $scriptdir $+ Declined.ini" Declined $mta.name($1,%a) $5 1 
   }
   elseif ($3 == !declined) {
     mta.say $1  $mta.name($1,$2) has declined $mta.name($1,$2)
   }
   elseif ($3 == !challangers) {
     if ($readini($scriptdir $+ Challange.ini,Challanger $mta.name($1,$2) vs $mta.name($1,%a)))
     mta.say $1 $readini(Challange.ini,Challanger,$5)
     mta.msg $1 $2 if you want to see who declined or who accecpted say !listaccecpt or !listdecline
   }
 }

the thing is is that the readini on the challangers does not work, i tried to see how other people did it but it still not work

images2.jpg
  • Recently Browsing   0 members

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