Don't forget to set the NPC to be able to see qglobals by setting the qglobal field in the npc_types table to 1.
Also, you should listen to what Congdar is saying about redefining your variables, because I can guarantee they will not work if you use the most recent script you posted.
Congdar, you should try out saylinks at least once for fun!
|