| Server IP : 172.67.162.67 / Your IP : 216.73.217.154 Web Server : Apache System : Linux vps42439 6.8.0-136-generic #136~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 3 16:29:11 UTC x86_64 User : dh_7hi3h9 ( 6349477) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/ircII/help/load/ |
Upload File : |
! $eterna: functions,v 1.8 2021/03/21 04:29:44 mrg Exp $
!
! Copyright (c) 1990-2021 Michael Sandrof, Troy Rollo, Matthew Green,
! and other ircII contributors.
!
! All rights reserved. See the HELP IRCII COPYRIGHT file for more
! information.
!
Usage: LOAD functions
Some useful and/or interesting functions.
Additionnal commands and functions available:
$reverse(<width> <text>) reverse the whole line, right justify
$format(<width> <text>) format text in a column right justified
$lformat(<width> <text>) format text in a column left justified
$center(<width> <text>) center text sin space <width> wide
$sandr(<search> <rep> <text>) search for, and replace stuff in text
This one is a programming exercise
Don't rely on it.
$notword(<word #> <list>) Remove the word # from the list. starts at 1
show <array name> Show all items in the array and subarrays
push <listname> <words> push words onto list with listname
e.g. push name Bill Jane Jim
$push(<listname> <words>) Same as 'push' but it returns 0 or 1 for
success or failure
pop listname pop first item off top of list listname
$pop(listname) like pop but returns that item
$pluck(listname word) pluck the word from the list listname and
return the new list
$sort(<list of words>) Sorts the given list of words case insensitive
(Daemon 93)