EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 10-12-2007, 12:52 PM
Telbin Telbin is offline
A Young Mystail Rat
 
Join Date: Sep 2007
Server: Antonia Bayle
Posts: 5
Talking Just a silly question

howdy,

I have the costum Raid window UI by Breyer, for Conj/Necros.

If you are not familiar with it, it allows us to cast shards and hearts with out changing our current target...very handy

Thank you Breyer

It sends a /tell to the target, letting them know they are getting one.
But, I would like to also announce it in /rs at the same time.

What is the XML code I would need to use for the operation... Im daft when it comes to figuring things out like this

thanks in advanced

T
Reply With Quote
  #2  
Unread 10-12-2007, 01:14 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Just search the XML for "tell" and look how that is coded. It will look something like "tell <target> <message>". Now just copy that, make a new line directly after <message> (but before the "), paste the copied text and change it to something like "raidsay casting XXX on <target>". Hope that made sense. Good luck.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #3  
Unread 10-13-2007, 07:58 AM
Telbin Telbin is offline
A Young Mystail Rat
 
Join Date: Sep 2007
Server: Antonia Bayle
Posts: 5
Default

okies, I understand what you are saying to do for the most part. But I dont see the text line as "tell", this is what the line says with the /tell info, this is the whole line

<Data Name="HealSpell1" spellname="Scintilla of Essence" text="Incoming Shard (Fabled) USE WISELY" />

how would I put the /rs part in there??

thanks again

T
Reply With Quote
  #4  
Unread 10-13-2007, 08:49 AM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

You need to find another line that actually has the "tell" command in it. That just has _what_ it will tell. The one with the "tell" command in it should be a <Button> type object., that one is a <Data> type object.
Reply With Quote
  #5  
Unread 10-15-2007, 06:19 AM
Telbin Telbin is offline
A Young Mystail Rat
 
Join Date: Sep 2007
Server: Antonia Bayle
Posts: 5
Default

okies, I looked thru the file again and found the only lines that had "tell" in it, this the code line.

<Button LocalTooltip="Cast Essence" Location="0,2" MaximumSize="20,20" MinimumSize="20,20" Name="M1H1" OnPress="tell Parent.Member1.Name.LocalText Parent.Parent.Parent.HealSpells.HealSpell1.Text useabilityonplayer Parent.Member1.Name.LocalText Parent.Parent.Parent.HealSpells.HealSpell1.SpellName" RStyleDefault="Heal1Style" ScrollExtent="20,20" Size="20,20" Tooltip="Cast Essence" />

what would the line code be to send a message to /raidsay?

Thanks again

TB
Reply With Quote
  #6  
Unread 10-15-2007, 06:46 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Quote:
Originally Posted by Telbin View Post
okies, I looked thru the file again and found the only lines that had "tell" in it, this the code line.

<Button LocalTooltip="Cast Essence" Location="0,2" MaximumSize="20,20" MinimumSize="20,20" Name="M1H1" OnPress="tell Parent.Member1.Name.LocalText Parent.Parent.Parent.HealSpells.HealSpell1.Text
raidsay Casting Parent.Parent.Parent.HealSpells.HealSpell1.spellname on Parent.Member1.Name.LocalText
useabilityonplayer Parent.Member1.Name.LocalText Parent.Parent.Parent.HealSpells.HealSpell1.SpellName" RStyleDefault="Heal1Style" ScrollExtent="20,20" Size="20,20" Tooltip="Cast Essence" />

what would the line code be to send a message to /raidsay?
My proposal added in bold for /raidsay Casting <spellname> on <target>. Note the linebreaks (I'm kinda surprised the original works without them...).
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #7  
Unread 10-15-2007, 07:29 AM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default

Quote:
Originally Posted by gm9 View Post
My proposal added in bold for /raidsay Casting <spellname> on <target>. Note the linebreaks (I'm kinda surprised the original works without them...).
I remember reading in some of the threads about scripting that multiple scripts execute from right to left but it's normally easier to read if you put a line break between each one.
http://www.eq2interface.com/forums/s...ead.php?t=5406

Or are you talking more about number of terms in the script?
__________________

Visit Othesus World!
Reply With Quote
  #8  
Unread 10-15-2007, 07:32 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Yes, it is right to left within one line, even if you do multi-line, but yes, I was talking about the number of arguments. I generally ran into issues with one-line commands that separate arguments by spaces, with the parser sometimes not being able to tell command from argument.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:12 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI