Squall Posted November 24, 2006 Share Posted November 24, 2006 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 Link to comment
paul527 Posted November 24, 2006 Share Posted November 24, 2006 Theoden you are always having scripting problems aren't you? Wheres Aeron, or lil' Toady, they are always fixin' problems. Link to comment
Squall Posted November 24, 2006 Author Share Posted November 24, 2006 well i am learning and oli is not on msn Link to comment
Squall Posted November 24, 2006 Author Share Posted November 24, 2006 do u got msn?? add [email protected] i on now Link to comment
paul527 Posted November 24, 2006 Share Posted November 24, 2006 Sorry Theoden, I am not familiar with MTA:mA scripting, so I cannot help you. Link to comment
Squall Posted November 24, 2006 Author Share Posted November 24, 2006 eh ah well som 1 will come hope fully as the tumble weed flys past Link to comment
Squall Posted November 24, 2006 Author Share Posted November 24, 2006 (edited) im sorry im jst learning Edited November 24, 2006 by Guest Link to comment
Aeron Posted November 24, 2006 Share Posted November 24, 2006 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. Link to comment
Squall Posted November 24, 2006 Author Share Posted November 24, 2006 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 Link to comment
Recommended Posts