Skip to content
MSN Addons

numbers

A TG007 community discussion started by samooh_2003.

Discussion 10 posts
Page 1 of 1
Open
Topic #4322 · 10 published posts · 1,365 views

some members join with there nick only numbers of phones and mobiles how can i kick them?

on ^*:Join:*: { if ($nick isnum) kick $chan $nick no number only nicks ty }

My code does NOT have bugs. It just develops random features.

Ozzy but that would kick anyone with even one number in there nicks how about if you wanted to kick for more than say 5 numbers?

Edited Aug 4, 2005 12:09 PM by grinning_male

No it won't it will kick if the nick is only contains numbers

how about if you wanted to kick for more than say 5 numbers?

 

on ^*:Join:*: { if ($count($nick,0,1,2,3,4,5,6,7,8,9) > 5) kick $chan $nick no more than 5 numbers in your nick please }

"the important thing was, that i had an onion on my belt, which was the style at the time"

 on @*:JOIN:#: { if ($nick isnum) && ($len($nick) >= 5) { kick $chan $nick No number nicknames } } 

 

This requires their nick to be numbers only, and the length of the nick to be longer than 5. Just increase the number in the if statement to what you want.

if ($len($nick) <= 6) && ($nick isnum) {

 

I worked it out and then see the posts in here as well.. Thanks guys..

 

GateKeeper bro | am still avaiting the long over due GD5

 

 

thnx 4 all really i am asking alot but sorry there was alot of things wanna to know
Edited Aug 5, 2005 12:32 AM by samooh_2003

yea everyone is still waiting for it, i have been busy with school and other things.

okz thnx gate but hope no one get upset from me