vBrenth
New member
- Messages
- 392
- Points
- 0
- Age
- 35
- Location
- Philippines
- Discord
- Brenth
- Github
- vBrenth
- Emulator
- Client Version
- RE
How can i bypass the channel delay ? when im using GM character?
http://herc.ws/board/topic/316-introducing-hercules-channel-system/?p=36329
http://herc.ws/board/topic/316-introducing-hercules-channel-system/?p=36329
Code:
} else { int v = atoi(sub3); if( k == hChSys_OPT_MSG_DELAY ) { if( v < 0 || v > 300 ) { sprintf(atcmd_output, msg_txt(1451), v, opt_str[k]);// value '%d' for option '%s' is out of range (limit is 0-300) clif->message(fd, atcmd_output); return false; } if( v == 0 ) { channel->opt &=~ k; channel->msg_delay = 0; sprintf(atcmd_output, msg_txt(1453), opt_str[k],channel->name,v);// option '%s' is now disabled for channel '%s' clif->message(fd, atcmd_output); return true; } else { channel->opt |= k; channel->msg_delay = v; sprintf(atcmd_output, msg_txt(1452), opt_str[k],channel->name,v);// option '%s' is now enabled for channel '%s' with %d seconds clif->message(fd, atcmd_output); return true; } } else {