Quote:
Originally Posted by kimura0715
im a noob with quests...i dont see a player.pl in the quest folders...
also i cant this to work..do you see any mistakes with it.......
#The_Masochist
sub EVENT_SPAWN {
quest::settimer("repeat", 60); // First trigger after 60 seconds, and every 60 seconds after
}
sub EVENT_TIMER {
if ($timer eq "repeat") {
quest::shout("I need pain!!! Please come kick my ass!! It will make you feel good and make me feel wonderful!!");
}
}
Thanks in advance...
|
Are you sure that "//" is a valid coment-out character?
try using # instead. Here is a small overhaul of the script:
Code:
sub EVENT_SPAWN
{
quest::settimer("repeat", 60); # First trigger after 60 seconds, and every 60 seconds after
}
sub EVENT_TIMER
{
if ($timer eq "repeat")
{
quest::stoptimer("repeat");
quest::shout("I need pain!!! Please come kick my ass!! It will make you feel good and make me feel wonderful!!");
quest::settimer("repeat", 60);
}
}