p0tat3rs

p0tat3rs

Joined
Nov 18, 2009

Activity Stream

p0tat3rs commented on a Page, Ident Based kick/ban upon joining  -  Nov 28, 2009

The idea of the aliases was if the user intended to add multiple "bad idents", also it simplifies the code a bit and makes it look cleaner rather than having multiple nestled function calls.

 Respond  
p0tat3rs commented on a Page, Ident Based kick/ban upon joining  -  Nov 22, 2009

meh, syntax :P

 Respond  
p0tat3rs created a Page  -  Nov 22, 2009
2,056 

The script compares the user's ident on joining, and checks that user's ident against other idents determined by the script. If the ident is flagged as "bad" the user is kicked and there is a ban placed on that user's ident. Other "bad idents" can be added, simply use the same format under the BadIdentCheck alias, where "Guest" is the bad ident.

p0tat3rs commented on a Page, For Sammie_Do|| :D   -  Nov 19, 2009

Ghost-writer, have you bothered to look at what the snippet does? It's required to have vulgar words... or it loses its purpose.

 Respond  
p0tat3rs commented on a Page, realname ban  -  Nov 19, 2009

Sunslayer, actually $replace($6-,$chr(32),) will search $6- (note the "-") for an every occurrence of $chr(32) (a space), it will then replace each occurrence with a "". Even though mIRC gets arguments based on the space, it doesn't exclude the space from the string.

 Respond  
p0tat3rs commented on a Page, Auto script-file text locator  -  Nov 18, 2009

It wouldn't hurt to have the script search through *.ini files as well... as some users tend to save their scripts with that extension. I'm a tad too lazy to look at the actual functionality of the code, but as far as looking clean goes: not too bad, though I'd advise against use of "|".

 Respond  
p0tat3rs commented on a Page, realname ban  -  Nov 18, 2009

Learn to use $+(arg,arg), as opposed to arg $+ arg, it'll make your code look neater, and easier to debug with larger strings, along with not using the "|" character, it looks messy as hell when you have lines upon lines of code with those in them. Also any realname that is longer than two args is automatically wildcarded, this could result in other users being banned, not typical, but still a possibility, try "set %realname $replace($6-,$chr(32),_)" that'll automatically format the banmask into arg1_arg2_arg3, etc. Last but not least, place your closing bracket on a separate line :P

 Respond  
p0tat3rs commented on a Page, For Sammie_Do|| :D   -  Nov 18, 2009

"coded by shanker" lolwut? try "coded by p0tat3rs, color codes added by shanker" :P

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.