$nicklev

By Gummo on Oct 02, 2008

A very short identifier which returns levels 0-5 for no status in a channel through +%@&~ respectively.

Usage: $nicklev(#room,nick)

I made this because I'd much rather use it than http://www.hawkee.com/snippet/5196/ and thought you might want to use it also. Enjoy. :\

; $nicklev identifier by Gummo
alias nicklev return $iif($findtok(+ % @ & ~,$left($nick($$1,$$2).pnick,1),32),$v1,0)

Comments

Sign in to comment.
gooshie   -  Dec 05, 2009

napa182,
I see that now that I actually
read the discription. lol

 Respond  
napa182   -  Dec 05, 2009

gooshie i think you missed his point of the alias it's not to return +%@& but the user level by number .

 Respond  
gooshie   -  Dec 05, 2009
alias nicklev if ($left($nick($1,$2).pnick,1) isin +%@&~) return $v1
or
alias nicklev return $iif($left($nick($1,$$2).pnick,1) isin +%@&~,$v1,0)
 Respond  
fire_wizard1   -  Nov 30, 2008

hmmm, looks kind of interesting, i guess i can add it to one of my bots scripts.

 Respond  
Gummo   -  Oct 05, 2008

REPEAT
REPEAT

 Respond  
napalm`   -  Oct 04, 2008

REPEAT

 Respond  
NIGathan   -  Oct 03, 2008

Eh, I guess your right, Ill change it to a 5

 Respond  
KronicDreamer   -  Oct 02, 2008

i have one in my theme that goes w/ aligned themes a lil better but this is nicely coded. :)

 Respond  
napa182   -  Oct 02, 2008

nice work Gummo...
and @ NIGathan - so what if it's a repetitive post. He did make a better version then the ones posted before and should be scored for that...

 Respond  
Gummo   -  Oct 02, 2008

Yeah, I've used pnick for quite some time.. Just put here so someone who hasn't could use it.

you could just put your eyes through a work out and look at the nick list,
lazy bishes
It's to be used in a script, not to see if someone's an op manually. -.-

 Respond  
Paul_1337noob   -  Oct 02, 2008

you could just put your eyes through a work out and look at the nick list,
lazy bishes

 Respond  
NIGathan   -  Oct 02, 2008

Honestly... Why are so many people making this script? Its a very simple and common snippet. I thought everyone knew about pnick :/, guess I was wrong. I've been using it forever...

/me rates 4 for repetitivity.

 Respond  
EL   -  Oct 02, 2008

looks good gummo and works ;p well done.`-.-´

 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.