PIL Variables
This is just a short intro on how to assign variables. There are a few that are reserved for other functions, but mostly you can name assign them any name you want.

Assigning Variables
Number variables do not have a $ in front of them and should contain only numbers. You can perform math operations with number variables but not with String Variables.
Examples:
apples := 8;
oranges := 9;
total := apples * oranges;
String Variables start with a $ and can contain numbers or letters, unlike number variables you cannot perform math functions.
Examples:
$space := ' ';
$words := *1;
$teststr := 'This is a test';
Global Assigned Variables
You cannot re-assign these and you can set your own global variables using the /define command.
$day Returns the current day of the week
$date Returns the current system sate
$time Returns the current system time
$server Returns the name of the server to which the windows from which the script is called is associated
$host Returns your current local host name
$ip Returns your IP address in 4 octet form
$me Returns your current nickname
$netid Returns the server’s network id (if assigned)
$audience Returns the channel/nickname of the window from which the script is called
$topic Returns the channel topic
$mode Returns the channel mode
$members Returns the channel member count
$version Returns the Pirch version you are running
Note:This page is currently under construction.

This page hosted by
Get your own Free Homepage
©1996 The Scripters Guild All Rights Reserved
Please send all questions and comments to TiAMaT