I also like to set global variables in weapon scripts for calling functions. So I don't have to use makevar everytime I call something from another script.
PHP Code:
First Weapon:
function onCreated() {
mud = makevar("-SystemMudlib");
}
public function additem(itemid, qty) {
junkhere;
}
PHP Code:
Second Weapon:
public function playerIni() {
mud.additem("skill_battleaura1",1);
}