Changeset 1225
- Timestamp:
- 03/07/08 02:05:14 (9 months ago)
- Files:
-
- 1.8.3/branches/devel/CHANGES.183 (modified) (1 diff)
- 1.8.3/branches/devel/game/txt/hlp/pennchat.hlp (modified) (2 diffs)
- 1.8.3/branches/devel/src/extchat.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.3/branches/devel/CHANGES.183
r1224 r1225 40 40 @ps. [Rhost] 41 41 * @wait/pid will adjust the wait time of queue entries. [Rhost] 42 * @chan/title <channel> will display your current channel title. 43 @chan/title <channel>= will clear it. Patch by Talvo, suggested by 44 Ender. 42 45 43 46 Functions: 1.8.3/branches/devel/game/txt/hlp/pennchat.hlp
r1008 r1225 155 155 @channel/who <channel> 156 156 @channel/hide <channel> = <yes|no> 157 @channel/title <channel> = <string>157 @channel/title <channel>[=<string>] 158 158 159 159 The @channel/who command shows you who is currently on a channel, … … 166 166 167 167 @channel/title lets you set a title to appear before your name 168 when you speak on the channel. If you leave the channel, your 169 title is cleared; use @channel/gag instead (see help @channel3). 170 You should escape any commas in your title with backslashes. 168 when you speak on the channel, or check your current title. If 169 you leave the channel, your title is cleared; use @channel/gag 170 instead (see help @channel3). You should escape any commas in 171 your title with backslashes. 171 172 172 173 See "help @channel3" for more. 1.8.3/branches/devel/src/extchat.c
r1150 r1225 102 102 103 103 CHAN *channels; /**< Pointer to channel list */ 104 105 extern int rhs_present; /* from command.c */ 104 106 105 107 static PRIV priv_table[] = { … … 2027 2029 return; 2028 2030 } 2031 2032 test_channel(player, name, c); 2033 u = onchannel(player, c); 2034 if (!u) { 2035 notify_format(player, T("You are not on channel <%s>."), ChanName(c)); 2036 return; 2037 } 2038 2039 if (!rhs_present) { 2040 if (strlen(CUtitle(u)) == 0) 2041 notify_format(player, T("You have no title set on <%s>."), ChanName(c)); 2042 else 2043 notify_format(player, T("Your title on <%s> is '%s'."), ChanName(c), CUtitle(u)); 2044 return; 2045 } 2046 2029 2047 if (!title) 2030 2048 title = (const char *) ""; … … 2042 2060 } 2043 2061 } 2044 test_channel(player, name, c); 2045 u = onchannel(player, c); 2046 if (!u) { 2047 notify_format(player, T("You are not on channel <%s>."), ChanName(c)); 2048 return; 2049 } 2062 2050 2063 strcpy(CUtitle(u), title); 2051 2064 if (!Quiet(player))
