ok this is totally retarded, programming is supposed to be logical!
i even tried this
Code:
if ($text=~/new/i){
quest::delglobal(meleearmorquest);
quest::setglobal(meleearmorquest,0,0,F);
quest::say("Ok just hail me when you want to pick your new quest.");
}
I noticed normall when i tried to set $meleequest back to 0 it made a new variable so i figured ok Ill do $meleearmorquest = undef; and it should undefine it. Doesnt work so i tried the code above, i figured ok, ill delete the variable and make a new one and set it to 0. It does not work either, can anyone explain this to me?