$hotlinepos

From Scriptwiki
Revision as of 01:30, 31 May 2009 by Aca20031 (talk | contribs) (Fixed hotlink link)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the word position and line number of a hotlink trigger

$hotlinepos
  • Returns: Word Token Number <space> Line Number

Example

on ^1:HOTLINK:*help*:#:{
 echo -atg Someone said help. It was in the $ord($gettok($hotlinepos,1,32)) word of line number $ord($gettok($hotlinepos,2,32)) which read: $hotline
}

See Also