mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-21 02:51:45 +01:00
new unfollow command available for all players (#6)
* new unfollow command available for all players * new unfollow command available for all players (fix redundant check) * new unfollow command available for all players (fix redundant check)
This commit is contained in:
@@ -970,3 +970,18 @@ ACMD(do_follow)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ACMD(do_unfollow)
|
||||
{
|
||||
if (ch->master) {
|
||||
if (AFF_FLAGGED(ch, AFF_CHARM)) {
|
||||
send_to_char(ch, "You feel compelled to follow %s.\r\n",
|
||||
GET_NAME(ch->master));
|
||||
} else {
|
||||
stop_follower(ch);
|
||||
}
|
||||
} else {
|
||||
send_to_char(ch, "You are not following anyone.\r\n");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user