View Single Post
  #1  
Old 06-12-2006, 10:05 AM
Dymerius
Sarnak
 
Join Date: Oct 2004
Posts: 74
Default quest::setguild(x,y) not working...

Does anyone see anything wrong in the following quest code?

sub EVENT_SAY {
if ($text=~/hail/i) {
quest::say("Check");
}
if ($text=~/yes/i) {
quest::say("bindcheck on $name $userid");
quest::rebind(2,118.03,282.64,3.13);
quest::say("guildcheck");
quest::setguild(3,0);
}


}

Everything executes except for the setguild.
I've checked and double-checked. I have a guild with ID 3 and my guild_ranks db is in good order.

Any ideas?
Reply With Quote