EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Untraining Disciplines (https://www.eqemulator.org/forums/showthread.php?t=32498)

Longdarkhair 11-17-2010 08:53 PM

Untraining Disciplines
 
Hi, is the quest::untraindiscs() still working, or am I doing something wrong?

sub EVENT_SAY {

if ($text =~/Hail/i){
quest::say ("Good day to you, $name. Would you like to [untrain] all your disciplines?"); }

if ($text =~/untrain/i){
quest::say ("Very well then.");
quest::untraindiscs(); }
}


I get the text responses from this quest, but it does not untrain my disciplines.

Also, is there a #command way to get this done?

Thanks in advance for any help.

trevius 11-17-2010 08:57 PM

For disc updates (adding or removing), you have to zone for them to update.

Longdarkhair 11-17-2010 09:06 PM

Thanks Trevius, that worked. :smile:

lerxst2112 11-17-2010 09:32 PM

Last I looked at the code the only way to do it was with the quest command. It would be simple to hook up a #command to do it, but I didn't see one there already.


All times are GMT -4. The time now is 01:55 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.