[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] 3 new commands
From: |
Trent Buck |
Subject: |
Re: [RP] 3 new commands |
Date: |
Tue Nov 16 02:15:02 2004 |
Quoth Shawn Betts on or about 2004-11-12:
> ratwarp - move the rat to an absolute position
> ratrelwarp - move the rat to a position relative to it's current position
Can you make these a single command?
if (2 == sscanf(data, "%u %u", &x, &y))
/* warp as absolute coordinates */
else if (2 == sscanf(data, "%d %d", &x, &y))
/* warp as relative coordinates */
else
/* error */
So that ':ratwarp 1 2' will be absolute, but ':ratwarp +1 +2' or
':ratwarp -1 -2' will be relative?
-trent
- Re: [RP] 3 new commands, (continued)
Re: [RP] 3 new commands, Trent Buck, 2004/11/12
Re: [RP] 3 new commands,
Trent Buck <=