The $bot variable is not being passed to the subroutine where the message is being carried out. Pass it to the subroutine (my $bot = shift; etc) and then it should work. _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Joined: 03 May 2006 Posts: 2292 Location: Colorado
Posted: Tue May 16, 2006 7:34 pm Post subject:
Hey,
In the future please use the upload facility to attach files to your post _________________ Eric256
Proud previous owner and current admin of Bot-depot.com