Jump to content

Clan Notice aCis 382


Recommended Posts

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

YEpqFHT.png & key = 22737e2a5b0d6cff46d5bd3d

 

message by clan owner

aqW2nEL.png & key = 9d5279520f3c7db2b1fda843

 

message if a member tries to create a news story

 

gcWh0La.png & key = 3bfcbf934a176d5c8120a07f

 

Edited by Williams
  • Upvote 1
Link to comment
Share on other sites

+			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 by Tryskell
Link to comment
Share on other sites

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.

  • Haha 1
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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? :goodsir:

  • Haha 1
Link to comment
Share on other sites

53 minutes ago, Sahar said:

getOnlineMembersCount can't be 0 either, activeChar is already 1 :D

 

If activeChar.hasSplitMind() then more than 1.

Link to comment
Share on other sites

37 minutes ago, Trance said:

 

You look cute in the cover picture.

Indeed, old picture, 'my' childhood :dat:

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock