Jump to content

2paq

Members
  • Posts

    65
  • Joined

  • Last visited

Everything posted by 2paq

  1. When someone fly or are undying its easy to see that and ban, but when someone had hack handling it's hard to check this ... If I know how it anti-cheat check this - I will try wrote something like anti-cheat but only to check handling.cfg
  2. You dont understand me, I dont wont to change, hack or else ... becouse I know that I cant!! I dont even now which is the file for this ... (anti-cheat files). But I know that somoene who hes wrote this can to this. If this is wery hard and can take much time I understand that no one what to do something like that ... but if anti-cheat verify CRC from handling.cfg then only need to change one value and recompilation ... BrophY, I'm not 12 years old (I know what I wrote*) and this is the forum (place wher people can ask que place), when you tell mi that it is not passible I understund that you see the code anti-cheat? I say that again! I'm dont cheat! I only think that orginal handling.cfg is boring, to easy and not realistic. My own I made two years ago for me (when I playe GTA:SA) and when I set the own serwer I use it - every one can use this, every one can download this file: http://swietochlowice.org/~2paq/temp/handling.rar I dont only do the car faster, some car are slower (truck, old, usualy, etc)! I spend much time to do this good ... It is passible that anybody whant to help me ... ... and if no one whant to help pleasy only tell way ... I understand that MTA team work hard on MTA:DM if it's passible I wait but tell my that *) maybe my english is wery bad but I say about contents
  3. Evryone on my serwer have my handling.cfg!! Is not a cheat!! I don't wont to hack the anticheat but set it, that on my serwer can play only people with this handling!! How was set in anti-cheat that it check handling.cfg?? CRC?? If only that it is no problem to change CRC to check my file (of corse I cant change this, only someone who has code)
  4. How work anticheat?? I need something like orginal anticheat but with possibility set up parameters (I need only to set my handling.cfg) It is pasible to write something like that ot chenge orginal?
  5. 2paq

    Need anticheat ...

    How work antcheat?? I need something like orginal antcheat but with possibility set up parameters (I need only to set my handling.cfg) Mayby I wrote topic in wrong category??
  6. how to do something that: $+(!.timermta.ping.time.,%a) 1 5 $iif(($mta.nick($1,%a) != -1) && ($mta.ping($1,%a) >= %gus.maxping.2rt),mta.text $1 Kicking $mta.nick($1,%a) - Ping: $mta.ping($1,%a) - Max Ping: %gus.maxping.2rt $+(!.timermta.ping.kick.,%a) 1 3 $iif($mta.nick($1,%a) != -1,mta.kick $1 %a)) GUS script: gus.pingkick + this check the ping again next to 5s then say Kicking [2RT]2paq - Ping: 245 - Max Ping: 200 and kick next to 3s Edit: this works: $+(!.timermta.ping.time.,%a) 1 10 $iif(($mta.nick($1,%a) != -1) && ($mta.ping($1,%a) >= %gus.maxping.2rt),mta.text $1 Kicking $mta.nick($1,%a) - Ping: $mta.ping($1,%a) - Max Ping: %gus.maxping.2rt) $+(!.timermta.ping.time2.,%a) 1 10 $iif(($mta.nick($1,%a) != -1) && ($mta.ping($1,%a) >= %gus.maxping.2rt),$+(!.timermta.ping.kick.,%a) 1 3 $iif($mta.nick($1,%a) != -1,mta.kick $1 %a)) } but how to do that easly?? Edit 2: I done that myself ... (if I wont wait for your help ) It worked ... on *:SIGNAL:mta.connect: { !.timerping off if ($gus.maxping($1) isnum) !.timerping 0 60 gus.pingkick $1 } alias gus.pingkick { var %a = 0 var %gus.maxping.2rt = $iif($readini($scriptdir $+ admin.ini,PING,2rt),$v1,Off) var %gus.maxping.lvl = $iif($readini($scriptdir $+ admin.ini,PING,lvl),$v1,Off) var %gus.maxping.max = $iif($readini($scriptdir $+ admin.ini,PING,max),$v1,Off) while (%a = 4) && ($mta.ping($1,%a) > %gus.maxping.2rt) && ($mta.ping($1,%a) != 0)) { mta.pm $1 %a Your ping: $mta.ping($1,%a) - Max Ping: %gus.maxping.2rt $+(!.timermta.ping.time.,%a) 1 50 gus.pingkick2 $1 %a } elseif (($gus.level($1,%a) <4>= 1) && ($mta.ping($1,%a) > %gus.maxping.lvl) && ($mta.ping($1,%a) != 0)) { mta.pm $1 %a Your ping: $mta.ping($1,%a) - Max Ping: %gus.maxping.lvl $+(!.timermta.ping.time.,%a) 1 35 gus.pingkick2 $1 %a } elseif (($gus.level($1,%a) <1> %gus.maxping.max) && ($mta.ping($1,%a) != 0)) { mta.pm $1 %a Your ping: $mta.ping($1,%a) - Max Ping: %gus.maxping.max $+(!.timermta.ping.time.,%a) 1 15 gus.pingkick2 $1 %a } } !inc %a } } alias gus.pingkick2 { var %gus.maxping.2rt = $iif($readini($scriptdir $+ admin.ini,PING,2rt),$v1,Off) var %gus.maxping.lvl = $iif($readini($scriptdir $+ admin.ini,PING,lvl),$v1,Off) var %gus.maxping.max = $iif($readini($scriptdir $+ admin.ini,PING,max),$v1,Off) if ($mta.nick($1,$2) != -1) { if (($gus.level($1,$2) >= 4) && ($mta.ping($1,$2) > %gus.maxping.2rt) && ($mta.ping($1,$2) != 0)) { mta.text $1 Kicking $mta.nick($1,$2) - Ping: $mta.ping($1,$2) - Max Ping: %gus.maxping.2rt $+(!.timermta.ping.kick.,$2) 1 3 $iif($mta.nick($1,$2) != -1,mta.kick $1 $2) } elseif (($gus.level($1,$2) <4>= 1) && ($mta.ping($1,$2) > %gus.maxping.lvl) && ($mta.ping($1,$2) != 0)) { mta.text $1 Kicking $mta.nick($1,$2) - Ping: $mta.ping($1,$2) - Max Ping: %gus.maxping.lvl $+(!.timermta.ping.kick.,$2) 1 3 $iif($mta.nick($1,$2) != -1,mta.kick $1 $2) } elseif (($gus.level($1,$2) <1> %gus.maxping.max) && ($mta.ping($1,$2) != 0)) { mta.text $1 Kicking $mta.nick($1,$2) - Ping: $mta.ping($1,$2) - Max Ping: %gus.maxping.max $+(!.timermta.ping.kick.,$2) 1 3 $iif($mta.nick($1,$2) != -1,mta.kick $1 $2) } } } Now you hawe tree group's: - user, I set them 200ms) - admin (mIRC lvl <4> 3), set 300ms Pings are check two time and then kick! First kick user, the admin ...
  7. I need anticheat, something what check handling.cfg (?? kB) It is pasible to write something like that?? I need this becosue of my serwer evryone use handling made by me.
  8. that work and no bug's: on *:SIGNAL:mta.command: { if ($3 == !tpoints) { if ($mta.nick($1,$2) != Player) { if ($4 != $null) mta.pm $1 $2 Error - You can chack only yours points! else { var %tpoints = $iif($readini($scriptdir $+ points.ini,TIMEPOINTS,$mta.nick($1,$2)),$v1,0) mta.text $1 $mta.nick($1,$2) had been played more then $int($calc(%tpoints / 12)) hours and erned for this %tpoints points. } } elseif ($mta.nick($1,$2) == Player) mta.pm $1 $2 Change nick to collect points: Esc --> Settings or /nick } on *:SIGNAL:mta.join: { if ($mta.nick($1,$2) != Player) $+(!.timermta.points.1.,$2) 0 600 timermta.points $1 $2 } on *:SIGNAL:mta.nick: { if ($mta.nick($1,$2) != Player) $+(!.timermta.points.1.,$2) 0 600 timermta.points $1 $2 } on *:SIGNAL:mta.part: { if ($mta.nick($1,$2) != Player) $+(!.timermta.points.1.,$2) off } alias timermta.points { mta.pm $1 $2 You've played for more than 10 minutes and 2 points were added - RESET TIMER! !writeini -n " $+ $scriptdir $+ points.ini" TIMEPOINTS $mta.nick($1,$2) $iif($readini($scriptdir $+ points.ini,TIMEPOINTS,$mta.nick($1,$2)),$calc($v1 + 2),2) }
  9. but what if "Player" change nick?? I think need this (in script lil): on *:SIGNAL:mta.nick: { if ($mta.nick($1,$2) != Player) $+(!.timermta.points.1.,$2) 0 600 timermta.points $1 $2 }
  10. this from mIRC: I don't know whay
  11. this gives 2 points for 10 minuts time of play: - you must play all 10 minutes (time not sumary the time from your last visit) - dont give if someone have nick Player it works but yestardey in mIRC say dhat have problem in line wher is write to file ... please look to this script
  12. I have the same problem but you can right clik "Save as..." or "Save image ..."
  13. this is the part of script that I use to read and show in file is good - but when show is "n/a - 12min 34sec 567ms"
  14. in file is good - write: .GranT- mta.text $1 <-- this is the problem, but way??
  15. in mIRC was error and say that in the line script when is the write to file you have right ... but when use GUS script it never hapend something ... but thx for all if I don't see more bug - I upload file with the script Edit (2007-03-23 18:51): nick: .GranT- <-- wchich charakter made the bug?? but in file is good ... can by a problem in read from ini?? it's is the n-th time/bug with nick: .GranT-
  16. yes it works but ... - one time when I play I finished second and me time was write to file but somone who was first I get beter time (personal rekord) wasn't write ... - player name: .GranT get rekord - say dat have get New Best Time .... but in file don't write his nick (time wrote good): n/a - 12mins 23sec 34ms when I analise the script I think that everythink is good and must work ... but I wrote this and I need someone else who chack this ...
  17. It working but ... yesterday don't save one time ... why ... ?? If someone wont I sent script to e-mail ... read from file chack mta.time and first time from file chack mta.time and second & third time from file chack mta.time and fourth & fifth time from file chack mta.time and sisth, seventh, eight & ninght time from file chack mta.time and tenth time from file - chack rest rekord by findtok and number write to file [/b]
  18. You won the race - you are last player alive it's a bug - can playe for example 10 people and wait for respawn - one only alive - someone exit and end race ... for what something like that?? I wait I know that MTA Team have much work with DM
  19. What is the difference between: !writeini -n " $+ $scriptdir $+ 10times.ini" NICK10 $replace($mta.race($1),$chr(32),-) %nick10 !writeini " $+ $scriptdir $+ 10times.ini" NICK10 $replace($mta.race($1),$chr(32),-) %nick10 -n <-- ??
  20. I still testing it ...
  21. yes I know that this can by done eaisler but I don't have time to thinking a lot this script working: - replace the time when someone bit rekord - one person can have only one time (best for him) Edit: me mistake I past something and dont chack it ... I use [code] but it has changed code ...
  22. You dont wont to help mi with alias ... I made it Otherwise if (%time01 == -1) { %time01 = $mta.time($1,$2) %nick01 = $mta.nick($1,$2) } elseif ($mta.time($1,$2) <= %time01) { %time10 = %time09 %time09 = %time08 %time08 = %time07 %time07 = %time06 %time06 = %time05 %time05 = %time04 %time04 = %time03 %time03 = %time02 %time02 = %time01 %time01 = $mta.time($1,$2) %nick10 = %nick09 %nick09 = %nick08 %nick08 = %nick07 %nick07 = %nick06 %nick06 = %nick05 %nick05 = %nick04 %nick04 = %nick03 %nick03 = %nick02 %nick02 = %nick01 %nick01 = $mta.nick($1,$2) } elseif ((%time02 == -1) && ($mta.nick($1,$2) != %nick01)) { %time02 = $mta.time($1,$2) %nick02 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the second time! } elseif (($mta.time($1,$2) <= %time02) && ($mta.nick($1,$2) != %nick01)) { %time10 = %time09 %time09 = %time08 %time08 = %time07 %time07 = %time06 %time06 = %time05 %time05 = %time04 %time04 = %time03 %time03 = %time02 %time02 = $mta.time($1,$2) %nick10 = %nick09 %nick09 = %nick08 %nick08 = %nick07 %nick07 = %nick06 %nick06 = %nick05 %nick05 = %nick04 %nick04 = %nick03 %nick03 = %nick02 %nick02 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) beat the second time! var %number = $findtok(%nick02 %nick03 %nick04 %nick05 %nick06 %nick07 %nick08 %nick09 %nick10,$mta.nick($1,$2),1,32) } elseif ((%time03 == -1) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02)) { %time03 = $mta.time($1,$2) %nick03 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the third time! } elseif (($mta.time($1,$2) 0) %number = %number + 1 } elseif ((%time04 == -1) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02) && ($mta.nick($1,$2) != %nick03)) { %time04 = $mta.time($1,$2) %nick04 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the forth time! } elseif (($mta.time($1,$2) 0) %number = %number + 2 } elseif ((%time05 == -1) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02) && ($mta.nick($1,$2) != %nick03) && ($mta.nick($1,$2) != %nick04)) { %time05 = $mta.time($1,$2) %nick05 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the fifth time! } elseif (($mta.time($1,$2) 0) %number = %number + 3 } elseif ((%time06 == -1) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02) && ($mta.nick($1,$2) != %nick03) && ($mta.nick($1,$2) != %nick04) && ($mta.nick($1,$2) != %nick05)) { %time06 = $mta.time($1,$2) %nick06 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the sixth time! } elseif (($mta.time($1,$2) 0) %number = %number + 4 } elseif ((%time07 == -1) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02) && ($mta.nick($1,$2) != %nick03) && ($mta.nick($1,$2) != %nick04) && ($mta.nick($1,$2) != %nick05) && ($mta.nick($1,$2) != %nick06)) { %time07 = $mta.time($1,$2) %nick07 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the seventh time! } elseif (($mta.time($1,$2) 0) %number = %number + 5 } elseif ((%time08 == -1) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02) && ($mta.nick($1,$2) != %nick03) && ($mta.nick($1,$2) != %nick04) && ($mta.nick($1,$2) != %nick05) && ($mta.nick($1,$2) != %nick06) && ($mta.nick($1,$2) != %nick07)) { %time08 = $mta.time($1,$2) %nick08 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the eighth time! } elseif (($mta.time($1,$2) 0) %number = %number + 6 } elseif ((%time09 == -1) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02) && ($mta.nick($1,$2) != %nick03) && ($mta.nick($1,$2) != %nick04) && ($mta.nick($1,$2) != %nick05) && ($mta.nick($1,$2) != %nick06) && ($mta.nick($1,$2) != %nick07) && ($mta.nick($1,$2) != %nick08)) { %time09 = $mta.time($1,$2) %nick09 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the ninth time! } elseif (($mta.time($1,$2) 0) %number = %number + 7 } elseif ((%time10 == -1) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02) && ($mta.nick($1,$2) != %nick03) && ($mta.nick($1,$2) != %nick04) && ($mta.nick($1,$2) != %nick05) && ($mta.nick($1,$2) != %nick06) && ($mta.nick($1,$2) != %nick07) && ($mta.nick($1,$2) != %nick08) && ($mta.nick($1,$2) != %nick09)) { %time10 = $mta.time($1,$2) %nick10 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the tenth time! if ((%number > 0) && (%nick10 == $mta.nick($1,$2))) var %number = 9 } elseif (($mta.time($1,$2) 0) { if (%number == 1) { %nick02 = %nick03 %time02 = %time03 } if (%number <= 2) { %nick03 = %nick04 %time03 = %time04 } if (%number <= 3) { %nick04 = %nick05 %time04 = %time05 } if (%number <= 4) { %nick05 = %nick06 %time05 = %time06 } if (%number <= 5) { %nick06 = %nick07 %time06 = %time07 } if (%number <= 6) { %nick07 = %nick08 %time07 = %time08 } if (%number <= 7) { %nick08 = %nick09 %time08 = %time09 } if (%number <= { %nick09 = %nick10 %time09 = %time10 } if (%number <= 9) { %nick10 = -1 %time10 = -1 } }
  23. all script if (%time01 == -1) { %time01 = $mta.time($1,$2) %nick01 = $mta.nick($1,$2) } elseif ($mta.time($1,$2) 0) find.by.number } elseif ((%time02 == -1) && ($mta.nick($1,$2) != %nick01)) { %time02 = $mta.time($1,$2) %nick02 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the second time! } elseif (($mta.time($1,$2) 0) { %number = %number + 1 find.by.number } } elseif ((%time03 == -1) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02)) { %time03 = $mta.time($1,$2) %nick03 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the third time! } elseif (($mta.time($1,$2) 0) { %number = %number + 2 find.by.number } } elseif ((%time04 == -1) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02) && ($mta.nick($1,$2) != %nick03)) { %time04 = $mta.time($1,$2) %nick04 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the forth time! } elseif (($mta.time($1,$2) 0) { %number = %number + 3 find.by.number } } elseif ((%time05 == -1) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02) && ($mta.nick($1,$2) != %nick03) && ($mta.nick($1,$2) != %nick04)) { %time05 = $mta.time($1,$2) %nick05 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the fifth time! } elseif (($mta.time($1,$2) 0) { %number = %number + 4 find.by.number } } elseif ((%time06 == -1) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02) && ($mta.nick($1,$2) != %nick03) && ($mta.nick($1,$2) != %nick04) && ($mta.nick($1,$2) != %nick05)) { %time06 = $mta.time($1,$2) %nick06 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the sixth time! } elseif (($mta.time($1,$2) 0) { %number = %number + 5 find.by.number } } elseif ((%time07 == -1) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02) && ($mta.nick($1,$2) != %nick03) && ($mta.nick($1,$2) != %nick04) && ($mta.nick($1,$2) != %nick05) && ($mta.nick($1,$2) != %nick06)) { %time07 = $mta.time($1,$2) %nick07 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the seventh time! } elseif (($mta.time($1,$2) 0) { %number = %number + 6 find.by.number } } elseif ((%time08 == -1) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02) && ($mta.nick($1,$2) != %nick03) && ($mta.nick($1,$2) != %nick04) && ($mta.nick($1,$2) != %nick05) && ($mta.nick($1,$2) != %nick06) && ($mta.nick($1,$2) != %nick07)) { %time08 = $mta.time($1,$2) %nick08 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the eighth time! } elseif (($mta.time($1,$2) 0) { %number = %number + 7 find.by.number } } elseif ((%time09 == -1) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02) && ($mta.nick($1,$2) != %nick03) && ($mta.nick($1,$2) != %nick04) && ($mta.nick($1,$2) != %nick05) && ($mta.nick($1,$2) != %nick06) && ($mta.nick($1,$2) != %nick07) && ($mta.nick($1,$2) != %nick08)) { %time09 = $mta.time($1,$2) %nick09 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the ninth time! if (%nick10 == $mta.nick($1,$2)) from.10 } elseif (($mta.time($1,$2) <= %time09) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02) && ($mta.nick($1,$2) != %nick03) && ($mta.nick($1,$2) != %nick04) && ($mta.nick($1,$2) != %nick05) && ($mta.nick($1,$2) != %nick06) && ($mta.nick($1,$2) != %nick07) && ($mta.nick($1,$2) != %nick08)) { %time10 = %time09 %time09 = $mta.time($1,$2) %nick10 = %nick09 %nick09 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) beat the ninth time! } elseif ((%time10 == -1) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02) && ($mta.nick($1,$2) != %nick03) && ($mta.nick($1,$2) != %nick04) && ($mta.nick($1,$2) != %nick05) && ($mta.nick($1,$2) != %nick06) && ($mta.nick($1,$2) != %nick07) && ($mta.nick($1,$2) != %nick08) && ($mta.nick($1,$2) != %nick09)) { %time10 = $mta.time($1,$2) %nick10 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the tenth time! } elseif (($mta.time($1,$2) <= %time10) && ($mta.nick($1,$2) != %nick01) && ($mta.nick($1,$2) != %nick02) && ($mta.nick($1,$2) != %nick03) && ($mta.nick($1,$2) != %nick04) && ($mta.nick($1,$2) != %nick05) && ($mta.nick($1,$2) != %nick06) && ($mta.nick($1,$2) != %nick07) && ($mta.nick($1,$2) != %nick08) && ($mta.nick($1,$2) != %nick09)) { %time10 = $mta.time($1,$2) %nick10 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) beat the tenth time! } ;----------------------------------------------------- ;this algorithm say where is the next step alias find.by.number { if (%number == 1) from.2 if (%number <= 2) from.3 if (%number <= 3) from.4 if (%number <= 4) from.5 if (%number <= 5) from.6 if (%number <= 6) from.7 if (%number <= 7) from.8 if (%number <= from.9 if (%number <= 9) from.10 } ;----------------------------------------------------- ;this put up the nick from position where is the double nick alias from.2 { %nick02 = %nick03 %time02 = %time03 } alias from.3 { %nick03 = %nick04 %time03 = %time04 } alias from.4 { %nick04 = %nick05 %time04 = %time05 } alias from.5 { %nick05 = %nick06 %time05 = %time06 } alias from.6 { %nick06 = %nick07 %time06 = %time07 } alias from.7 { %nick07 = %nick08 %time07 = %time08 } alias from.8 { %nick08 = %nick09 %time08 = %time09 } alias from.9 { %nick09 = %nick10 %time09 = %time10 } alias from.10 { %nick10 = -1 %time10 = -1 }
  24. Please, check: - alias (I dont know how to use it) - findtok (I dont know if I use it good) elseif ((%time02 == -1) && ($mta.nick($1,$2) != %nick01)) { %time02 = $mta.time($1,$2) %nick02 = $mta.nick($1,$2) !.timer.time.text 1 1 mta.text $1 $mta.nick($1,$2) end race with the second time! } elseif (($mta.time($1,$2) 0) { %number = %number + 1 find.by.number } } ;----------------------------------------------------- ;this algorithm say where is the next step alias find.by.number { if (%number == 1) from.2 if (%number <= 2) from.3 if (%number <= 3) from.4 if (%number <= 4) from.5 if (%number <= 5) from.6 if (%number <= 6) from.7 if (%number <= 7) from.8 if (%number <= from.9 if (%number <= 9) from.10 } ;----------------------------------------------------- ;this put up the nick from position where is the double nick alias from.2 { %nick02 = %nick03 %time02 = %time03 } alias from.3 { %nick03 = %nick04 %time03 = %time04 } alias from.4 { %nick04 = %nick05 %time04 = %time05 } alias from.5 { %nick05 = %nick06 %time05 = %time06 } alias from.6 { %nick06 = %nick07 %time06 = %time07 } alias from.7 { %nick07 = %nick08 %time07 = %time08 } alias from.8 { %nick08 = %nick09 %time08 = %time09 } alias from.9 { %nick09 = %nick10 %time09 = %time10 } alias from.10 { %nick10 = -1 %time10 = -1 }
×
×
  • Create New...