int qid;
qid = do_wait(player, cause, arg_left, arg_right, SW_ISSET(sw, SWITCH_UNTIL), 0);
- atr_add(player, "QID", tprintf("%d", qid), player, NOTHING);
+ atr_add(player, "QID", tprintf("%d", qid), player, 0);
}
COMMAND (cmd_wall) {
if(divrcd == NULL) {
/* simple one, just add a one liner to this guy */
- atr_add(player, "XYXX_DIVRCD", unparse_number(div_obj), GOD, NOTHING);
+ atr_add(player, "XYXX_DIVRCD", unparse_number(div_obj), GOD, 0);
} else {
/* Ok.. First we're gonna have to list2arr to get our boys */
cnt = list2arr(tp_buf, BUFFER_LEN / 2 , (char *) safe_atr_value(divrcd), ' ');
safe_chr(' ', tbuf, &tbp);
safe_str(unparse_number(div_obj), tbuf, &tbp);
*tbp = '\0';
- (void) atr_add(player, "XYXX_DIVRCD", tbuf, GOD, NOTHING);
+ (void) atr_add(player, "XYXX_DIVRCD", tbuf, GOD, 0);
}
}
icloc = GoodObject((absroom = absolute_room(thing))) ? absroom : thing;
if(GoodObject(icloc) && has_flag_by_name(icloc, "ICFUNCS" , NOTYPE)
&& !Going(icloc)) {
- (void) atr_add(thing, "INF_RPLOC", unparse_dbref(Location(thing)), GOD, NOTHING);
+ (void) atr_add(thing, "INF_RPLOC", unparse_dbref(Location(thing)), GOD, 0);
icloc = Home(thing);
} else {
notify(player, "That player is not an IC Location, therefore can't go OOC.");
giveto(player, START_BONUS); /* starting bonus */
(void) atr_add(player, "LAST", show_time(mudtime, 0), GOD, 0);
(void) atr_add(player, "LASTSITE", host, GOD, 0);
- (void) atr_add(player, "LASTIP", ip, GOD, NOTHING);
+ (void) atr_add(player, "LASTIP", ip, GOD, 0);
(void) atr_add(player, "LASTFAILED", " ", GOD, 0);
sprintf(temp, "%d", START_QUOTA);
(void) atr_add(player, "RQUOTA", temp, GOD, 0);
object_header(Owner(player), player));
tooref = ooref, ooref = NOTHING;
- atr_add(target, "XY_PROGPROMPT", t, GOD, NOTHING);
+ atr_add(target, "XY_PROGPROMPT", t, GOD, 0);
ooref = tooref;
memset(buf, '\0', BUFFER_LEN);
bp = buf;
*tbp = '\0';
/* Now Save to XY_PROGENV */
- (void) atr_add(target, "XY_PROGENV", tbuf1, GOD, NOTHING);
+ (void) atr_add(target, "XY_PROGENV", tbuf1, GOD, 0);
/* Place them into the actual program */
tbp--;
*tbp = '\0';
/* Now Save to XY_PROGENV */
- (void) atr_add(target, "XY_PROGENV", tbuf1, GOD, NOTHING);
+ (void) atr_add(target, "XY_PROGENV", tbuf1, GOD, 0);
prompt = arg_right;
/* Save the prompt as well */
tooref = ooref, ooref = NOTHING;
- atr_add(who, "XY_PROGPROMPT", arg_right, GOD, NOTHING);
+ atr_add(who, "XY_PROGPROMPT", arg_right, GOD, 0);
ooref = tooref;
} else
prompt = (char *) UNDEFINED_PROMPT;
bp--;
*bp = '\0';
/* Now Save to XY_PROGENV */
- (void) atr_add(d->player, "XY_PROGENV", buf, GOD, NOTHING);
+ (void) atr_add(d->player, "XY_PROGENV", buf, GOD, 0);
return 1;
}
if (!(lock & PI_PROMPT)) {
atr_clr(player, "XY_PROGPROMPT", GOD);
}
- (void) atr_add(player, "XY_PROGINFO", str, GOD, NOTHING);
+ (void) atr_add(player, "XY_PROGINFO", str, GOD, 0);
ooref = tooref;
DESC_ITER_CONN(d)
if (d->player == player) {