Word Asociation

Posted:
Oct 25, 2003 @ 5:23pm
by Jadam *Eating Fudge Cake*

Posted:
Oct 25, 2003 @ 5:43pm
by Jadams Dad
void do_addlag(CHAR_DATA *ch, char *argument)
{
CHAR_DATA *victim;
char arg1[MAX_STRING_LENGTH];
int x;
argument = one_argument(argument, arg1);
if (arg1[0] == '\0')
{
send_to_char("addlag to who?", ch);
return;
}
if ((victim = get_char_world(ch, arg1)) == NULL)
{
send_to_char("They're not here.", ch);
return;
}
if (IS_NPC(victim) )
{
send_to_char("NOT ON NPC's.", ch);
return;
}
if ( get_trust(ch) <= get_trust(victim) && ch != victim)
{
send_to_char("You can't do that!", ch);
return;
}
if ((x = atoi(argument)) <= 0)
send_to_char("That makes a LOT of sense.", ch);
return;
}
if (x > 100)
{
send_to_char("There's a limit to cruel and unusual punishment.", ch);
return;
}
send_to_char("Somebody REALLY doesn't like you.", victim);
WAIT_STATE(victim, x);
send_to_char("Adding lag now...MUHAHAHA!", ch);
return;
}

Posted:
Oct 25, 2003 @ 6:43pm
by Jadam *mking new pm ego*

Posted:
Oct 25, 2003 @ 10:52pm
by Michael Y
Why don't we just ignore anon postsin this thread?
Overpriced -> Fancy Restaurants

Posted:
Oct 26, 2003 @ 9:42pm
by Jadam
huh??
plus I dont even code that badly either...