its simple to use left click the background of the room u want to kick the person from
menu channel {
kicks
.kick : {
set %byeguy $$?="who do u want to kick"
set %gift $rand(1,28)
if (%gift == 1) { kick $chan %byeguy your stupidity outweighs my inteligence }
if (%gift == 2) { kick $chan %byeguy i'd hang a medal off your ass, but my boot fits better }
if (%gift == 3) { kick $chan %byeguy your mum should have swallowed }
if (%gift == 4) { kick $chan %byeguy would have been yo daddy but the dog beat me over the fence }
if (%gift == 5) { kick $chan %byeguy get fucked }
if (%gift == 6) { kick $chan %byeguy piss off twat }
if (%gift == 7) { kick $chan %byeguy i've seen better looking boils on a welders ass }
if (%gift == 8) { kick $chan %byeguy common sense eludes you doesn't it }
if (%gift == 9) { kick $chan %byeguy ever had a foot in your ass? YA DO NOW! }
if (%gift == 10) { kick $chan %byeguy apparently you don't learn.... do you? }
if (%gift == 11) { kick $chan %byeguy how about heres my finger hes my thumb this is my boot right up yer bum }
if (%gift == 12) { kick $chan %byeguy thankyou please call again }
if (%gift == 13) { kick $chan %byeguy Fuck you Very Much.... Come Again... Or Don't }
if (%gift == 14) { kick $chan %byeguy that word's a no no, ya do do }
if (%gift == 15) { kick $chan %byeguy if wit was shit youd still be constipated, One turd removed }
if (%gift == 16) { kick $chan %byeguy This is a beauty parlour... you appear to have hit all 27 branches on the ugly tree... there is nothing we can do for you. Try the shop next door }
if (%gift == 17) { kick $chan %byeguy Do you actually think about the shit that falls outta your mouth? Or is is all just random? }
if (%gift == 18) { kick $chan %byeguy God loves you"...............................wait.......NO I don't }
if (%gift == 19) { kick $chan %byeguy this rom is an all welcome room, but i guess your the exception }
if (%gift == 20) { kick $chan %byeguy Have a ride on the short bus? }
if (%gift == 21) { kick $chan %byeguy its along walk home so grab your coat , yopur leaving }
if (%gift == 22) { kick $chan %byeguy don't say i never gave you nothin (swift kick) }
if (%gift == 23) { kick $chan %byeguy here a early Christmas prizent }
if (%gift == 24) { kick $chan %byeguy its along walk home so grab your coat , your leaving }
if (%gift == 25) { kick $chan %byeguy You're outta here like a pornstar at college }
if (%gift == 26) { kick $chan %byeguy insert own kick message cos your not worht the effort }
if (%gift == 27) { kick $chan %byeguy try that one again and il wear your ass for a slipper }
if (%gift == 28) { kick $chan %byeguy my mother gave me life, i gave her the blues, my wife gave me hell i gave her herpies, youve given me nothing so consider this a gift }
}
..permanently ban {
set %banman $$?="who would u like to scare"
kick $chan %banman ((quit) (user has been permanently banned from $server ))
}
}
I agree with Kirby:> Why do you have all of those if's?
You might as well read all of those kick messages from a text file
menu channel {
Kick $iif($me isop $chan,$1):kick $chan $1 $read(kicks.txt)
}
Then put all the kick message in kicks.txt. Actually this method is shown in the help file under $read.
But then again, there are many methods to go about scripts of random kick messages. Whatever floats your boat, I reckon.
You could also use tokens for this like:
menu channel {
kicks
.kick : {
set %byeguy $$?="who do u want to kick"
var %gift your stupidity outweighs my inteligence+i'd hang a medal off your ass, but my boot fits better+$&
your mum should have swallowed+would have been yo daddy but the dog beat me over the fence+get fucked+$&
piss off twat,i've seen better looking boils on a welders ass,common sense eludes you doesn't it,$&
ever had a foot in your ass? YA DO NOW!+apparently you don't learn.... do you?+$&
how about heres my finger hes my thumb this is my boot right up yer bum,thankyou please call again+$&
Fuck you Very Much.... Come Again... Or Don't+that word's a no no, ya do do+$&
if wit was shit youd still be constipated, One turd removed+$&
This is a beauty parlour... you appear to have hit all 27 branches on the ugly tree... there is nothing we can do for you. Try the shop next door+$&
Do you actually think about the shit that falls outta your mouth? Or is is all just random?+$&
God loves you"...............................wait.......NO I don't+this rom is an all welcome room, but i guess your the exception+$&
Have a ride on the short bus?+its along walk home so grab your coat , yopur leaving,don't say i never gave you nothin (swift kick)+$&
here a early Christmas prizent+its along walk home so grab your coat , your leaving,You're outta here like a pornstar at college+$&
insert own kick message cos your not worht the effort+try that one again and il wear your ass for a slipper+$&
my mother gave me life, i gave her the blues, my wife gave me hell i gave her herpies, youve given me nothing so consider this a gift
kick $chan %byeguy $gettok(%gift,$r(1,$numtok(%gift,43)),43)
}
..permanently ban {
set %banman $$?="who would u like to scare"
kick $chan %banman ((quit) (user has been permanently banned from $server ))
}
}
Why do you have all of those if's?
You might as well read all of those kick messages from a text file, and instead of a prompt, why not just have it kick when you right click the nick on the channel's nicklist?
The script that you have now doesn't have any error checks to see if the nick is on the channel, and the method I just described above would easily fix that.
@ Aucun50: 'elseif's for scripts do not dramatically change script speeds at all; at least, not for every occasion.