identify - $midtok

By dashh on Feb 19, 2009

Basic and Very useful identify.

usage.

string = LOL!LOLa.LOL

get the string tok between ! and . -> LOLa

;- $midtok(string,first tok pos,second tok pos,tok1,tok2)

*//echo -a $midtok(LOL!LOLa.LOL,2,1,33,46)**

very useful when u are use sock's and room sock like how to get a gate user

nick!gate@host

the same history. but @ = chr 64

;-- dashh code.

alias midtok return $gettok( $gettok( $$1, $$2, $$4 ), $$3, $$5 )  

;- no more code needed x.x

Comments

Sign in to comment.
Zeppelin382   -  Feb 19, 2009

That's pretty inetersting O.o
I never thought of using the same identifier inside itself like that.

 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.