Williams Posted August 28, 2019 Posted August 28, 2019 (edited) I come to share a code that I made. It is intended for clan leaders to leave a message for their members. código : https://pastebin.com/raw/YACt3bjn Add this to your system in commandname-e.dat 115 114 notice htm message by clan owner message if a member tries to create a news story Edited August 28, 2019 by Williams 1 Quote
V-Ray Posted August 28, 2019 Posted August 28, 2019 (edited) Me not is clan leader of clan Warriors :'( Edited August 28, 2019 by V-Ray Quote
Trance Posted August 28, 2019 Posted August 28, 2019 I'm sure that clan != null is a duplicate in EnterWorld. Put the code in the same place people! 1 Quote
Tryskell Posted August 28, 2019 Posted August 28, 2019 (edited) + if (clan.getMembersCount() == 0) + { + activeChar.sendMessage("You don't have any members"); + return false; + } You probably meant getOnlineMembersCount(), because getMembersCount() can't be 0. That custom probably collides with retail clan notice. If you edit it form clanbbs, it will affect your usercommand. Also, a big text probably fucks up everything using ExShowScreenMessage. Edited August 28, 2019 by Tryskell Quote
V-Ray Posted August 28, 2019 Posted August 28, 2019 32 minutes ago, Tryskell said: + if (clan.getMembersCount() == 0) + { + activeChar.sendMessage("You don't have any members"); + return false; + } You probably meant getOnlineMembersCount(), because getMembersCount() can't be 0. That custom probably collides with retail clan notice. If you edit it form clanbbs, it will affect your usercommand. Also, a big text probably fucks up everything using ExShowScreenMessage. For a pervert dwarf who spend his nights eating cookies you're very cool person. 1 Quote
Sahar Posted August 28, 2019 Posted August 28, 2019 40 minutes ago, Tryskell said: You probably meant getOnlineMembersCount(), because getMembersCount() can't be 0. getOnlineMembersCount can't be 0 either, activeChar is already 1 :D Quote
SweeTs Posted August 28, 2019 Posted August 28, 2019 39 minutes ago, Sahar said: getOnlineMembersCount can't be 0 either, activeChar is already 1 :D Everything is possible! Me is not you, so 1 - 1 = 0. Capish? 1 Quote
Trance Posted August 28, 2019 Posted August 28, 2019 7 minutes ago, SweeTs said: Everything is possible! Me is not you, so 1 - 1 = 0. Capish? You look cute in the cover picture. Quote
Rootware Posted August 28, 2019 Posted August 28, 2019 53 minutes ago, Sahar said: getOnlineMembersCount can't be 0 either, activeChar is already 1 :D If activeChar.hasSplitMind() then more than 1. Quote
SweeTs Posted August 28, 2019 Posted August 28, 2019 37 minutes ago, Trance said: You look cute in the cover picture. Indeed, old picture, 'my' childhood Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.