Please help me to edit my script until fixed

By Ernsnare~ on Sep 23, 2013

the languange script is indonesian you can translate it in google translate thanks
Help me to clear this script

on 3:text:!ban*:?: {
/raw ban $2 (Lama : $3 ) ( Alasan : $4 ) ( Tgl: $date(dd/mm/yy)) ( From OP: $nick )
/raw lockacct $2
/raw kill $2
/msg $nick ID Telah Di banned
/writeini -n mIRC\\data\\lockunlock.txt ID: $2 Status: Banned Tgl: $date(dd/mm/yy) From Operator: $nick Keterangan: ID Anda telah diBan (Alasan : $3 ) ( Lama : $4 ) }

on 3:text:!unban*:?: {
/raw unban $2
/raw unlockacct $2
/writeini -n mIRC\\lockunlock.txt ID: $2 Status: Unbaned Tgl: $date(dd/mm/yy) From Operator: $nick Keterangan: Masa Ban Sudah Lewat (Alasan : $3 )
/msg $nick ID Telah Di Unbaned }

on 4:text:!ban*:?: {
/raw ban $2 (Lama : $3 ) ( Alasan : $4 ) ( Tgl: $date(dd/mm/yy)) ( From Admin: $nick )
/raw lockacct $2
/raw kill $2
/msg $nick ID Telah Di banned
/writeini -n mIRC\\data\\lockunlock.txt ID: $2 Status: Banned Tgl: $date(dd/mm/yy) From Admin: $nick Keterangan: ID Anda telah diBan (Alasan : $3 ) ( Lama : $4 ) }

on 4:text:!unban*:?: {
/raw unban $2
/raw unlockacct $2
/writeini -n mIRC\\lockunlock.txt ID: $2 Status: Unbaned Tgl: $date(dd/mm/yy) From Admin: $nick Keterangan: Masa Ban Sudah Lewat (Alasan : $3 )
/msg $nick ID Telah Di Unbaned }

on 1:TEXT:!status*:?: {

if ( $nick != %mrp.nick ) { set -u15 %mrp.nick $nick }

if ( $2 == $null ) { set %mrp.status $readini mIRC\\lockunlock.txt ID: %mrp.nick }

if ( %mrp.status == $null ) {

/msg $nick %mrp.nick $+ , }
else {

/msg $nick %mrp.nick $+ , %mrp.status }

else { set %mrp.status $readini mIRC\\lockunlock.txt ID: $2 }

if ( %mrp.status == $null ) {

/msg $nick %mrp.nick $+ , $2 }

else {
/msg $nick %mrp.nick $+ , $2 %mrp.status } }
}

Comments

Sign in to comment.
Farcrada   -  Sep 23, 2013
on 3:text:!ban*:?: {
  /raw ban $2 (Lama : $3 ) ( Alasan : $4 ) ( Tgl: $date(dd/mm/yy)) ( From OP: $nick )
  /raw lockacct $2
  /raw kill $2
  /msg $nick ID Telah Di banned
  /writeini mIRC\\data\\lockunlock.txt ID: $2 Status: Banned Tgl: $date(dd/mm/yy) From Operator: $nick Keterangan: ID Anda telah diBan (Alasan : $3 ) ( Lama : $4 )
}

on 3:text:!unban*:?: {
  /raw unban $2
  /raw unlockacct $2
  /writeini mIRC\\data\\lockunlock.txt ID: $2 Status: Unbaned Tgl: $date(dd/mm/yy) From Operator: $nick Keterangan: Masa Ban Sudah Lewat (Alasan : $3 )
  /msg $nick ID Telah Di Unbaned
}

on 4:text:!ban*:?: {
  /raw ban $2 (Lama : $3 ) ( Alasan : $4 ) ( Tgl: $date(dd/mm/yy)) ( From Admin: $nick )
  /raw lockacct $2
  /raw kill $2
  /msg $nick ID Telah Di banned
  /writeini -n mIRC\\data\\lockunlock.txt ID: $2 Status: Banned Tgl: $date(dd/mm/yy) From Admin: $nick Keterangan: ID Anda telah diBan (Alasan : $3 ) ( Lama : $4 )
}

on 4:text:!unban*:?: {
  /raw unban $2
  /raw unlockacct $2
  /writeini -n mIRC\\lockunlock.txt ID: $2 Status: Unbaned Tgl: $date(dd/mm/yy) From Admin: $nick Keterangan: Masa Ban Sudah Lewat (Alasan : $3 )
  /msg $nick ID Telah Di Unbaned
}

on 1:TEXT:!status*:?: {
  if ( $nick != %mrp.nick ) {
     set -u15 %mrp.nick $nick
  }
  else {
    /msg $nick %mrp.nick $+ , $2 %mrp.status
  }
  elseif ($2 == $null) {
    set -u30 %mrp.status $readini mIRC\\lockunlock.txt ID: %mrp.nick
  }
  elseif (%mrp.status == $null) {
    /msg $nick %mrp.nick $+ ,
  }
  elseif ((%mrp.status != $null) && ($2 == $null) && ($nick == %mrp.nick)) {
    /msg $nick %mrp.nick $+ , %mrp.status
    else {
      set -u30 %mrp.status $readini mIRC\\lockunlock.txt ID: $2
    }
  }
  elseif (%mrp.status == $null) {
    /msg $nick %mrp.nick $+ , $2
  }
}

Can you try this and see if it gives an error. If so, can you give me the errors (Copy paste them here.)

 Respond  
Farcrada   -  Sep 23, 2013

What is it doing and what is it not? Explain to us. You have given us 0 parameters to work with. Of course, we could use it, but what do you want? Fixed. I get that, but what needs fixing? what goes wrong? What goes according to plan? Etc.

Ernsnare~  -  Sep 23, 2013

script this is wrong on the !status. when i type !status it can't not read the file lockunlock.txt. please help me solve all problems thanks

Farcrada  -  Sep 23, 2013

Right. I'll edit it on the fly cause I do not have mIRC here atm. I'll see what I can do.

Farcrada  -  Sep 23, 2013

Does the .txt exists in the folder you want it to?
Could you like, paste the path here?

Ernsnare~  -  Sep 24, 2013

okay if u can edit it with fly, give me the result from ur script if u already done. i have some .txt on folder C:\MIRC\lockunlock.txt . on this script i write the .txt like this

/write -n mIRC\lockunlock.txt ID: $2 Status: Banned Tgl: $date(dd/mm/yy) From Admin: $nick Keterangan: ID Anda telah diBan (Alasan : $3 ) ( Lama : $4 )

How about it ?

Farcrada  -  Sep 24, 2013

Well... You can leave this: "mIRC\" out together with "-n". Now tell and describe me how you want your .txt to look like.

Also, delete your current .txt and try my script (Posted above.). Does that work? Is it reading properly? Is it making the file like you want it to? If not tell me so and describe what it should do. make a picture if you have to and upload it to "http://imgur.com/". I'm not going to try your script anytime soon. I'll gladly hlp, but I do not have the time nor patience to do this. This also was written over several hours.

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.