Author Topic: Sending a message to Fellow
MishnaoftheRangers 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Sending a message to Fellow
I am writing a plugin that is compatible with Virindi and does appear on the Virindi bar; it is in C#. I have been going in circles trying to figure out how to write a message to the fellow. Using ACHooks.InvokeChatParser(text) does not work for me (crashes to desktop when I use @f plus the message) and reading the DecalDev board I suspect I should be using a DecalAdapterMessage but am not able to figure out how or what to use.

Could someone point me to write to fellow code (either in open source or just give me some direction). Or does Virindi have one that I have missed in her core package.

Thank you for any help. Forgive me for writing to this board if it is inappropriate. My password no longer works on DecalDev.com and my attempt to have a new one sent to me does not work(?).

 

-----signature-----
Link to this post
Hazridi 
Posts: 8,386
Registered: Mar 15, '01
Extended Info (if available)
Real Post Cnt: 8,277
User ID: 74,558
Subject: Sending a message to Fellow
InvokeChatParser is the thing to use actually, but you're probably trying to create an instance of ACHooks instead of using the correct instance that is available from Pluginhost.

 

-----signature-----



Hazridi of WE, VT, HG, SC
Decal Core Dev - http://www.decaldev.com - Beta at http://www.decaldev.com/beta
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: Sending a message to Fellow
Host.Actions.InvokeChatParser("/f hi mom!");

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
Link to this post
MishnaoftheRangers 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Sending a message to Fellow
Thank you, Virindi. I knew there was probably a simple way. It works great now.

 

-----signature-----
Link to this post

Valid XHTML 1.0 Transitional Powered by PHP