Example #1
0
 bool cmdHealth(VPServices app, Avatar who, string data)
 {
     initialHealth(who);
     app.Notify(who.Session, msgHealth, who.GetSettingInt(keyHealth));
     return true;
 }
Example #2
0
 void initialHealth(Avatar who)
 {
     if (who.GetSettingInt(keyHealth) <= 0)
         who.SetSetting(keyHealth, 100);
 }