View Single Post
  #4  
Old 09-20-2001, 09:48 PM
KrAnKyP2P KrAnKyP2P is offline
Registered User
Join Date: Sep 2001
Location: I CoMe FrOm A LaNd FaR FaR AwAy
Posts: 330
KrAnKyP2P is on a distinguished road
Send a message via AIM to KrAnKyP2P
~~if someone buys 100 sand from me it does this~~

this.sandplus=strtofloat(#s(sandammt))+100;
setstring sandammt,#v(this.sandplus);

~~This is the sand jar...~~

if (weaponfired)
{
say2 Your Sand: #s(sandammt);
}

~~This is the (unnamed) mining tool~~

if (weaponfired){
set action.miningsand;
setcharprop #c, You have #v(this.number) Sand;
}

~~This is in the Mining Place...~~

if (action.miningsand)
{
this.number=random(1,10);
setstring sandplus,#v(this.number);
}



It doesn't work.. the sand just goes from 2.9382 or sumthin like that to 1.38473 then back to 29382 and to 1.38473..
can anyone help ?
__________________
Reply With Quote