mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
17 lines
284 B
Raku
17 lines
284 B
Raku
sub EVENT_SAY {
|
|
if($text=~/despawn/i)
|
|
{
|
|
quest::disable_spawn2(10842);
|
|
quest::say("Yes sir!");
|
|
}
|
|
elsif($text=~/enable/i)
|
|
{
|
|
quest::enable_spawn2(10842);
|
|
quest::say("Yes sir!");
|
|
}
|
|
elsif($text=~/spawn/i)
|
|
{
|
|
quest::spawn_from_spawn2(10842);
|
|
quest::say("Yes sir!");
|
|
}
|
|
} |