m00nface

Paste Your code(s) here, and state your problem.

m00nface

Postby skylord » Tue Dec 29, 2009 12:47 pm

Code: Select all
on *:text:*:#:{
  if ($1 == %gaming. [ $+ [ $chan ] ]) { if (%score. [ $+ [ $chan ] ] <= 2) || (!%score. [ $+ [ $chan ] ]) && (!$istok(%now. [ $+ [ $chan ] ],$nick,32)) && (!%antispam. [ $+ [ $chan ] ]) {
      writeini moonface.ini $chan $nick $calc($readini(moonface.ini,$chan,$nick) + 1)
      msg $chan $read(texts.txt)
      set %now. [ $+ [ $chan ] ] $addtok(%now. [ $+ [ $chan ] ],$nick,32)
      inc %score. [ $+ [ $chan ] ]
      set %gaming. [ $+ [ $chan ] ] $read(comma.txt)
      halt
    }
    if (%score. [ $+ [ $chan ] ] == 3) && (!$istok(%now. [ $+ [ $chan ] ],$nick,32)) && (!%antispam. [ $+ [ $chan ] ]) {
      writeini moonface.ini $chan $nick $calc($readini(moonface.ini,$chan,$nick) + 1)
      set %now. [ $+ [ $chan ] ] $addtok(%now. [ $+ [ $chan ] ],$nick,32)
      set %gaming. [ $+ [ $chan ] ] $read(comma.txt)
      set -u300 %antispam. [ $+ [ $chan ] ] 1
      inc %all. [ $+ [ $chan ] ]
      set %score. [ $+ [ $chan ] ] 0
      msg $chan 4,2«•» 0Point, Point, Comma, Stroke, finishe is the Moonface! That have Toke Some Time Finaly! Moonface N°.  $+ %all. [ $+ [ $chan ] ] $+  4,2«•»0 From: %now. [ $+ [ $chan ] ] 4,2«•»
      top3
      unset %now. [ $+ [ $chan ] ]
    }
  }
}
alias top3 {
  window -h @sort
  loadbuf -t $+ $1 @sort moonface.ini
  filter -wwctue 2 61 @sort @sort
  var %x = 1, %results
  while (%x <= 3) {
    var %name = $iif($gettok($line(@sort,%x),1,61),$v1,??), %points $iif($gettok($line(@sort,%x),2,61),$v1,??)
    var %results = %results $ord(%x) $+(%name,$chr(40),%points ,$chr(41))
    inc %x
  }
  msg $chan $chr(91) Top3: %results $chr(93)
  window -c @sort
}


dont work ? help me thanx sp00fed
skylord
 

Re: m00nface

Postby fraguk » Tue Dec 29, 2009 9:56 pm

Is that the full script ...?
and what part dont work ..?
any error text from the bot ....?
fraguk
 

Re: m00nface

Postby StareX » Thu Dec 31, 2009 11:09 am

Well.. this script is nothing at all..
Only point point comma.. nothing else.
when i do:
,
.
-
it does the point point comma but when i do it next time.. it do it again and when i say: .
it doesn't say "A point?! another attack" :P

this isnt a full script
1/10
StareX
 

Re: m00nface

Postby zNigel- » Thu Dec 31, 2009 11:35 am

StareX wrote:Well.. this script is nothing at all..
Only point point comma.. nothing else.
when i do:
,
.
-
it does the point point comma but when i do it next time.. it do it again and when i say: .
it doesn't say "A point?! another attack" :P

this isnt a full script
1/10


Why are you rating something that he needs help with? :(
zNigel-
 

Re: m00nface

Postby StareX » Wed Jan 20, 2010 7:51 pm

Well he edited and said that he need help after i post this post :( :( :(
StareX
 


Return to Mirc Scripting Help

Who is online

Users browsing this forum: No registered users and 3 guests

cron