Difference between revisions of "$hotlinepos"

From Scriptwiki
Jump to: navigation, search
m
(No difference)

Revision as of 02:21, 31 May 2009

Returns the word position and line number of a hotlink trigger

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

Example

On_hotlink: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