Quote:
Originally Posted by Cisyouc
Quote:
Code:
quest::targlobal("Var",$charid + 1,"D1",$mobid,$charid,$zoneid);
This makes sure that Character 1 will have a value of 2, and character 2 will have a value of 3, thus when you check to see if they have the correct value you put.
|
WOW! I didn't try it yet, but that is very clever  Thanks =)
|
After looking at it, its still not probably going to work. Well, ill try it anyway. Heres what I have.
Code:
sub EVENT_SAY
{
if($text=~/hail/i)
{
if($solusek == "")
{
quest::say("Hello, would you like to [help] me? (NEW)");
}
elsif($solusek == $charid + 1)
{
quest::say("Thanks for assisting me!");
}
}
if($text=~/help/i)
{
if($solusek == "")
{
quest::targlobal("solusek",$charid + 1,"Y5",$mobid,$charid,$zoneid);
quest::me("You have recieved a character flag!");
}
elsif($solusek == $charid + 1)
{
quest::say("You've already assisted me!!");
}
}
}
Update Didnt work!!!
