Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kaje

Pages: [1]
1
mIRC/pawn Scripting / Re: Extract Clan Tags from Nick-Name
« on: September 17, 2009, 08:45:15 pm »
Hya Guys,


Here is an amended version, thanks for your comments so far.

kaje: Its a small snippet aimed at people that wish to obtain the clan tag from the players name for whatever purposes they desire.

Code: [Select]
; -----------USAGE----------
; //echo -a $FindClanTag([MK]rulk)
;
; Tags Covered: (Double Delimiter)
; [MK] (MK) =MK= ^MK^ <MK> -MK-
;
; Tags Covered: (Single Delimiter)
; ULK. ULK= L.Team*
;
; Note: Combinations of characters are also valid for
;       both double and single delimiter tags.
; --------------------------

alias FindClanTag {
  var %Double_Delim = $regex( D_DELIM, $1, /([[(=^<-]+\w+.[])=^>-]+)/ )
  var %Single_Delim = $regex( S_DELIM, $1,  (\w.+[.*=]+) )
  return $iif( %Double_Delim > 0, $regml(D_DELIM, 1), $regml(S_DELIM, 1) )
}

Dont forget, if there is any combination that you require me to add/remove dont hesitate to ask.

Kind Regards

Luke Rudge (rulk)
Thank you for explaining me.

2
UltraMegaServer / [Question] What happend to UMS?
« on: September 13, 2009, 10:27:41 pm »
Why this wonderful server stopped? :'(

3
mIRC/pawn Scripting / Re: Extract Clan Tags from Nick-Name
« on: September 13, 2009, 10:24:57 pm »
Hey, rulk.
I've read the codes, But I still didn't understood why is this nessecary?

Pages: [1]