Subj : variable
To   : altere
From : Digital Man
Date : Thu Dec 28 2000 05:48 am

RE: variable
BY: altere to Digital Man on Thu Dec 28 2000 01:00 am

>  > Use the global variable: _USERON.CDT
>  >
>  > If you want to modify the user's credits, then use the function:
>  > ADJUST_USER_CREDITS
>
> hrm, the adjust_user_credits won't work for what I'm doing as the amount of
> credits isn't ever the same, it's based on some things the user enters.  Hav
> said that I wanted to have a credits variable and add, mul, or whatever the
> user enters against that variable.

ADJUST_USER_CREDITS supports integer variables. Example:

int i
set i 10
adjust_user_credits i

You can modify _USERON.CDT as it is a read-only variable.

Rob

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net