Top

Timed Akick Script

Please Register to submit score.
Average Score  2.0
Scores Submitted  1
Date Added  Mar 27, 2008
Last Updated  Apr 04, 2008
Tags  akick  kick  phoenixbot  protect  reason  script  set  time  timer 

Introduction

This is a simple Akick Script that allows you to set a timer on it.
I made this because no one has made a decent Timer Akick Script here.

!akick (nickname) (time in seconds) (Reason)

Ex.
!akick Thedude117 600 Flooding, banned for 10 minutes.

Akicks them for 10 minutes with a reason set to "Flooding, banned for 10 minutes."
After 10 minutes, it deletes the akick from the channel, unbans them, invites them back, and gives a message to them. If you don't set a reason, it automatically sets "You fucked up" for the reason.

You can edit this in a few ways if you want (add color and stuff, change the messages it sends), just give me credit :)

***UPDATE*** Fixed a missing bracket

Grab the Code

Comments

  (5)  RSS
napa182
Comments: 640
 
Posted on Mar 28, 2008 1:09 am
you are missing a bracket and why inc a count if you are not going to use it. and it seems you forgot a few things... 2/10
Phoenix847
Comments: 8
 
Posted on Mar 28, 2008 9:49 pm
Hmm? I don't see the missing bracket, and I definitely don't know why I do have an inc count in there LOL.
Missing a few things? ... Like what?
Only a beginner scripter here so I do need a little help =/
Tom445566
Comments: 12
 
Posted on Mar 29, 2008 12:31 am
You forgot unban :L
Tom445566
Comments: 12
 
Posted on Mar 29, 2008 12:41 am
Edit: Unban should be /timer 2 /mode $chan -b $2 The other didn't work for me.
napa182
Comments: 640
 
Posted on Mar 29, 2008 12:52 am
well if you are going to akick them you mite want it to kick them when you do, and instead of useing / on the timers use a . to stop the timer flood. also no need to set a global var you can use a local var instead.

Please Register or Login to start posting comments.
Bottom