Jump to content

is there a gus 24 hour ban


Danboi

Recommended Posts

on *:SIGNAL:mta.command { 
 var %a = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) 
  if ($3 == !ban) slr.baning $1- 
} 
alias slr.unbann !return $readini(24hban.ini,24hourban,24) 
alias slr.unban { 
  if ($slr.unban($1,%a) != $null) { 
   !timer 1 86400 mta.unban $1 $slr.unbann($1,%a) 
  mta.text $1 Unbanning $slr.unbann($1,%a) in 24h - 86400secs 
} 
} 
alias slr.baning { 
  var %a = $iif(($4 == $null),$2,$iif(($slr.id($1,$4) == $null),$2,$v1)) 
  if ($4 == $null) mta.pm $1 $2 Error: !ban <nick or id>  
  else { 
    if ($mta.level($1,$2) < 4) mta.pm $1 $2 $slr.inco  
    if ($mta.level($1,$2) >= 4) mta.ban $1 %a 
    !writeini -n 24hban.ini 24hourban 24 $mta.nick($1,%a) 
 slr.unban $1- 
  } 
} 

Link to comment

stfu! lil^san you are really winding me up now slight mistake, unlike what you promised people and didnt deliver the script, not even now!

here try this mate :)

on *:SIGNAL:mta.command { 
 var %a = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) 
  if ($3 == !ban) slr.baning $1- 
} 
alias slr.unbann !return $readini(24hban.ini,24hourban,24) 
alias slr.unban { 
  if ($slr.unban($1,%a) != $null) { 
   !timer 1 86400 mta.unban $1 $slr.unbann($1,%a) 
  mta.text $1 Unbanning $slr.unbann($1,%a) in 24h - 86400secs 
} 
} 
alias slr.baning { 
  var %a = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) 
  if ($4 == $null) mta.pm $1 $2 Error: !ban <nick or id>  
  else { 
    if ($gus.level($1,$2) < 4) mta.pm $1 $2 Error: to use this command you need to be level 4 your level: $gus.level($1,$2)  
    if ($gus.level($1,$2) >= 4) mta.ban $1 %a 
    !writeini -n 24hban.ini 24hourban 24 $mta.nick($1,%a) 
 slr.unban $1- 
  } 

Link to comment
stfu! lil^san you are really winding me up now slight mistake, unlike what you promised people and didnt deliver the script, not even now!

here try this mate :)

on *:SIGNAL:mta.command { 
 var %a = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) 
  if ($3 == !ban) slr.baning $1- 
} 
alias slr.unbann !return $readini(24hban.ini,24hourban,24) 
alias slr.unban { 
  if ($slr.unban($1,%a) != $null) { 
   !timer 1 86400 mta.unban $1 $slr.unbann($1,%a) 
  mta.text $1 Unbanning $slr.unbann($1,%a) in 24h - 86400secs 
} 
} 
alias slr.baning { 
  var %a = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) 
  if ($4 == $null) mta.pm $1 $2 Error: !ban <nick or id>  
  else { 
    if ($gus.level($1,$2) < 4) mta.pm $1 $2 Error: to use this command you need to be level 4 your level: $gus.level($1,$2)  
    if ($gus.level($1,$2) >= 4) mta.ban $1 %a 
    !writeini -n 24hban.ini 24hourban 24 $mta.nick($1,%a) 
 slr.unban $1- 
  } 

Well, maybe im not best scripter in these forums, but these were very basic mistakes, what i also have done.

As you can see, i just reported about missing aliases and stuff...

I didnt said that you sucks or you are bad scripter. It was just constructive message.

EDIT:

There is still very little mistake, ban for level 4. Its usually for level 7, 8, 9 or 10.

So,

on *:SIGNAL:mta.command { 
 var %a = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) 
  if ($3 == !ban) slr.baning $1- 
} 
alias slr.unbann !return $readini(24hban.ini,24hourban,24) 
alias slr.unban { 
  if ($slr.unban($1,%a) != $null) { 
   !timer 1 86400 mta.unban $1 $slr.unbann($1,%a) 
  mta.text $1 Unbanning $slr.unbann($1,%a) in 24h - 86400secs 
} 
} 
alias slr.baning { 
  var %a = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) 
  if ($4 == $null) mta.pm $1 $2 Error: !ban <nick or id>  
  else { 
    if ($gus.level($1,$2) < 7) mta.pm $1 $2 Error: to use this command you need to be level 7, your level is $gus.level($1,$2)  
    if ($gus.level($1,$2) >= 7) mta.ban $1 %a 
    !writeini -n 24hban.ini 24hourban 24 $mta.nick($1,%a) 
 slr.unban $1- 
  } 

Link to comment

Omg lil^san maybe you deserve a place on the betateam for that, or not, again you changed someones script to make it your own. By the way if you didnt know its level 4 for a reason because its only a 24hour ban so its nothing perminant, hence the lowish level !! you need to grow up and do something on your own i belive you been after the team MB's Gus script to use cause you cant even write your own !

Link to comment
Omg lil^san maybe you deserve a place on the betateam for that, or not, again you changed someones script to make it your own. By the way if you didnt know its level 4 for a reason because its only a 24hour ban so its nothing perminant, hence the lowish level !! you need to grow up and do something on your own i belive you been after the team MB's Gus script to use cause you cant even write your own !

Omfg, you must be noob!

Have i said its mine script! HAVE I?!?!?!?

GO FF UR SELF U MUTFKC FCK U! :!::!::!:

Link to comment

Unless you wanna get banned SanZor, I recommend you refrain from talking to people like that (that goes for everyone else too), if you are going to have a go at them, at least use clean and proper english

PS: Dont reply to this, allow this topic to STAY on topic

Rant over, soz folks ;)

Link to comment
only one little thing [sLR] Racer umm well i tried you scripts and they not much use anyway xD so i think i will have sanzors but it still dont work tho :)

the reason why "sanzors" wont work is its because its mine, he changed a few things! like allways.

on *:SIGNAL:mta.connect { 
!timer 0 60 slr.unban $1- 
} 
on *:SIGNAL:mta.command { 
 var %a = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) 
  if ($3 == !ban) slr.baning $1- 
} 
alias slr.unbann !return $readini(24hban.ini,24hourban,24 $+ $mta.nick($1,$2)) 
alias slr.date !return $readini(24hban.ini,24hourban,$mta.nick($1,$2)) 
alias slr.unban { 
  if ($slr.unban($1,$2) == banned) && ($slr.date($1,$2) < $date(d)) { 
   !timer 1 86400 mta.unban $1 $slr.unbann($1,$2) 
  !remini -n 24hban.ini 24hourban 24 $+ $mta.nick($1,$2) 
   mta.text $1 Unbanning $slr.unbann($1,$2) in 24h - 86400secs 
} 
} 
alias slr.baning { 
  var %a = $iif(($4 == $null),$2,$iif(($mta.getid($1,$4) == $null),$2,$v1)) 
  if ($4 == $null) mta.pm $1 $2 Error: !ban <nick or id>  
  elseif ($gus.level($1,$2) < 4) mta.pm $1 $2 Error: to use this command you need to be level 4 your level: $gus.level($1,$2)  
  else { 
    if ($gus.level($1,$2) >= 4) mta.ban $1 %a 
    !writeini -n 24hban.ini 24hourban 24 $+ $mta.nick($1,%a) $mta.nick($1,%a) 
    !writeini -n 24hban.ini 24hourban $mta.nick($1,%a) $date(d) 
   } 
} 

Link to comment

rather than using $date(d) i think i would be better if u use $ctime, it'll be a lot more accurate.

using date, its not really 24hrs, also, if u use $ctime, u could specify the ban duration,

it could easily be changed to ban for any specified time.

!tban this is what i use in mine, then u can set a default time of 24hrs if no time is specified.

Link to comment

CAN A REMIND YOU SANZOR !

Unless you wanna get banned SanZor, I recommend you refrain from talking to people like that (that goes for everyone else too), if you are going to have a go at them, at least use clean and proper english

PS: Dont reply to this, allow this topic to STAY on topic

Rant over, soz folks ;)

Link to comment

lol, bant

SanZor i highly recommend that whenever posting code that has been originally made by another coder, ALWAYS show the EXACT name the original author (no typos on that name!). After that, then explain the changes you made so that you don't make the original author look like a noob if you made any mistakes during your edit to their work. Without showing the original authors name, you will automatically be labeled a "code stealer" right away. The best option would be to asking the original author before posting an edited version of their work. That works out the best if you are able to contact the author first.

Link to comment
  • Recently Browsing   0 members

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