thing, is the object receiving the effects of marker powerz
*/
#define marker_powers(t, m, o) SLEVEL(o) = m ? LEVEL_DIRECTOR : LEVEL_ADMIN ;
- // division_powerlevel_set(GOD, o, (t ? (m ? PL_DIRECTOR : PL_ROYALTY) : PL_PLAYER), 1);
-
/* power over checks {{{1 */
#define POWC(x) int x(int, dbref, dbref)
}
str2[i] = '\0';
if (!*str1) {
- *secs += parse_integer(str2); // no more chars, just add seconds and stop
+ *secs += parse_integer(str2); /* no more chars, just add seconds and stop */
break;
}
switch (*str1) {
case 'd':
case 'D':
- *secs += (parse_integer(str2) * 86400); // days
+ *secs += (parse_integer(str2) * 86400); /* days */
break;
case 'h':
case 'H':
- *secs += (parse_integer(str2) * 3600); // hours
+ *secs += (parse_integer(str2) * 3600); /* hours */
break;
case 'm':
case 'M':
- *secs += (parse_integer(str2) * 60); // minutes
+ *secs += (parse_integer(str2) * 60); /* minutes */
break;
case 's':
case 'S':
case ' ':
- *secs += parse_integer(str2); // seconds
+ *secs += parse_integer(str2); /* seconds */
break;
default:
return 0;
}
- str1++; // move past the time char
+ str1++; /* move past the time char */
}
return 1;
}
NA_NANSI, /**< ANSI and NOACCENTS */
NA_NCOLOR, /**< ANSI, COLOR, NOACCENTS */
NA_NPUEBLO, /**< html & NOACCENTS */
- NA_NPASCII, /**< NOACCENTS */
-// NA_EVALONCONTACT /**< Evaluate on Contact */
+ NA_NPASCII /**< NOACCENTS */
};
/** Number of possible message text renderings */
ATTR *patr;
DESC *d;
int i, pflags = 0;
+ char buf[BUFFER_LEN], *bp;
if (!arg_left) {
notify(player, "Invalid arguments.");
"WARNING: %s is using bad prompt syntax with @program. Refer to help @prompt.",
object_header(Owner(player), player));
- char buf[BUFFER_LEN], *bp;
tooref = ooref, ooref = NOTHING;
atr_add(target, "XY_PROGPROMPT", t, GOD, NOTHING);
ooref = tooref;
memset(buf, '\0', BUFFER_LEN);
strncpy(buf, row_p[3], BUFFER_LEN-1);
j = sqllist_check(Contents(SQLCMD_MasterRoom), player, '$', ':', buf, 0);
- // j = list_check(Contents(SQLCMD_MasterRoom), player, '$', ':', buf, 0);
if(j < 1) {
mysql_free_result(qres2);
mysql_query(mysql_struct, tprintf("UPDATE query_t SET query=\"-1\", io=0 WHERE id = %d", atoi(row_p[0]) ));