Thread: Last bind point
View Single Post
  #6  
Old 11-18-2013, 08:17 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

Here's my code for seven plugins, including zone short name and just zone period.

These go in the 'plugins' folder, you can name the Perl file anything you want.
http://pastebin.com/AtqS8F2p

All you would do is this.
Code:
sub EVENT_SAY
{
	if($text=~/Hail/i)
	{
		plugin::Whisper("The zone you are bound to is " . plugin::Zone($client->GetBindZoneID()) . ".");
	}
}
Reply With Quote