Author Topic: Warning Alias Request  (Read 3987 times)

Jazzibell

  • Guest
Warning Alias Request
« on: May 26, 2009, 06:03:29 PM »
Ok i have this code so far

$1 = nickname
$2 = Reason for Warning
$3 = Time period to set ban for


/warnlnp:/msg $1 You have been warned by Jazzibell for $2. Please try and correct this. This is your 1st WARNING
/warnlnp:/msg #LNPChat $1 you are hereby warned for $1 This is your 1st warning
/warnlnp2:/msg $1 You have been warned by Jazzibell for $2. Please try and correct this. This is your FINAL WARNING Next will be ($3) Minuet Timeout
/warnlnp2:/msg #LNPChat $1 you are hereby warned for $1 This is your FINAL WARNING Next will bea ($3) Minuet Timeout
/warnlnp3:/msg #LNPChat $1 Has been Put on timeout for $2 he may return in $3
/warnlnp3:/msg $1 You have yet again disrguarded my warning. You are on a $3 Minuet time out. After that time is up the ban will be lifted automaticly The reason is $2
/warnlnp3:/kick $1 you have been kicked for $2
All that is left is to do is to get the last line to Ban the member for $3 amount of mine

i was thinking
/ban $1 $3
But this is not working
even tried
/mode #LNPChat +b $1

It took me 2 days to get all of this. I am really new at scripting and this is driving me nuts

I Made these as aliases that way only i can use them

INFO
Room name is #LNPChat
My Username is Jazzibell
AGAin
$1 is the person username
$2 is the reason that i am warning them
$3 is the time limit for the ban

Jazzibell

  • Guest
Re: Warning Alias Request
« Reply #1 on: May 26, 2009, 06:41:41 PM »
ok i got the ban function working it is
/b $1!
but how can i add a time limit to that ban

Jazzibell

  • Guest
Re: Warning Alias Request
« Reply #2 on: May 26, 2009, 07:42:27 PM »
OK the code that i have is this
where $1 is the Username
$2 is the Reason for banning

I have the ban and everything wrking all i need to do in put a 15 minuet limit on the ban that i place. So that the user may return in 15 minuets!

I have tried /mode +b -uN (Name) still wont cancel the ban after 15 minuets is up someone help please

Code: [Select]
/warnlnp:/msg $1 You have been warned by Jazzibell for $2. Please try and correct this. This is your 1st WARNING
/warnlnp:/msg #LNPChat $1 you are hereby warned for $1 This is your 1st warning
/warnlnp2:/msg $1 You have been warned by Jazzibell for $2. Please try and correct this. This is your FINAL WARNING Next will be  Fifteen(15) Minuet Timeout
/warnlnp2:/msg #LNPChat $1 you are hereby warned for $1 This is your FINAL WARNING Next will be  Fifteen(15) Minuet Timeout
/warnlnp3:/msg #LNPChat $1 Has been Put on a temp ban(15 minuets) for $2
/warnlnp3:/msg $1 You have yet again disrguarded my warning. You are on a 15 Minuet time out. After that time is up the ban will be lifted automaticly The reason is $2.
/warnlnp3:/kick $1 $2
/warnlnp3:/mode #LNPChat +b $1!



Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1803
    • IceChat IRC Client
Re: Warning Alias Request
« Reply #3 on: May 26, 2009, 09:40:05 PM »
Code: [Select]
/ban -uN #channel $1Replace N with number of seconds to remove ban.
So for 15 minutes, would be -u900.
« Last Edit: May 26, 2009, 09:42:14 PM by Snerf »
The IceChat God