Raised This Month: $51 Target: $400
 12% 

Solved read messages from messagemode


Post New Thread Reply   
 
Thread Tools Display Modes
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 02-06-2019 , 09:43   Re: read messages from messagemode
Reply With Quote #11

players could buy their own prefix, so i was trying to let them write it via a messagemode, so it must be saved in .ini file as i wanted to work, it works now, i've solved this!
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 02-07-2019 , 06:49   Re: read messages from messagemode
Reply With Quote #12

Oh, you do not need messagemod for that anyway
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 02-07-2019 , 10:35   Re: read messages from messagemode
Reply With Quote #13

Quote:
Originally Posted by ^SmileY View Post
Oh, you do not need messagemod for that anyway
I mean.... what if it's an unique prefix a player can buy?
DjSoftero is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 02-07-2019 , 22:18   Re: read messages from messagemode
Reply With Quote #14

Quote:
Originally Posted by DjSoftero View Post
I mean.... what if it's an unique prefix a player can buy?
No, you can use handle, say command, or just use regex to detect player tags on name change
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Airkish
AlliedModders Donor
Join Date: Apr 2016
Location: Lithuania
Old 02-08-2019 , 04:04   Re: read messages from messagemode
Reply With Quote #15

Quote:
Originally Posted by ^SmileY View Post
No, you can use handle, say command, or just use regex to detect player tags on name change
I don't think you understand what kind of tag they are talking about.
__________________
Airkish is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 02-08-2019 , 06:44   Re: read messages from messagemode
Reply With Quote #16

He wants players register his tags at server if i understand
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
JocAnis
Veteran Member
Join Date: Jun 2010
Old 02-08-2019 , 07:42   Re: read messages from messagemode
Reply With Quote #17

he wants custom tag for chat, for example:
Code:
[bot] ^SmileY: hey yo
[pro] JocA: yoyo
not hard to undestand
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)
JocAnis is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 02-08-2019 , 07:53   Re: read messages from messagemode
Reply With Quote #18

@OP is talking about custom chat tag, player may select his own tag and not pre-set tags (through a menu, e.g.). So yes, he should use messagemod, otherwise he wouldn't be able to "parse" what the player written.


Quote:
Originally Posted by JocAnis View Post
he wants custom tag for chat, for example:
Code:
[bot] ^SmileY: hey yo
[pro] JocA: yoyo
not hard to undestand
That's it.
__________________









Last edited by CrazY.; 02-08-2019 at 07:55.
CrazY. is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 02-08-2019 , 16:37   Re: read messages from messagemode
Reply With Quote #19

He still do not needed to use messagemode for catch what chat tag players wants.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 02-08-2019 , 16:43   Re: read messages from messagemode
Reply With Quote #20

Quote:
Originally Posted by ^SmileY View Post
He still do not needed to use messagemode for catch what chat tag players wants.
You're wrong. Other way would be for a client to use console command, which is less convenient..

Last edited by DjSoftero; 02-08-2019 at 16:43.
DjSoftero is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode