[help] Command effect

09/11/2008 10:06 konkizta#1
I would like to know that my command does not serve the purpose

this is the code:

Quote:
if (Splitter[0] == "/effect")
{
SendPacket(General.MyPackets.String(MyChar.UID, 10, Splitter[1]));
}
Use loft source

Will it be that I add something?
09/11/2008 20:28 walmartboi#2
Quote:
if (Splitter[0] == "/effect")
{
SendPacket(General.MyPackets.String(MyChar.UID, 10, "Splitter[1]"));
}
Test it with: warrior
09/11/2008 20:30 taguro#3
Quote:
Originally Posted by konkizta View Post
I would like to know that my command does not serve the purpose

this is the code:



Use loft source

Will it be that I add something?
Its a command to display an effect.

/effect dragon = displays super dragon gem effect.
09/11/2008 23:13 konkizta#4
No, I served I tried the command in shadow and I will be alright but not in loft.
09/11/2008 23:17 Zanzibar#5
Quote:
Originally Posted by taguro View Post
Its a command to display an effect.

/effect dragon = displays super dragon gem effect.
Its goldendragon
09/12/2008 00:41 tao4229#6
Quote:
Originally Posted by walmartboi View Post
Test it with: warrior
Wrong, Splitter[1] is already a string, you don't put the strings variable name in quotes..

As for the original poster, I have no idea what you're trying to say... "lern2engrish"?
09/12/2008 04:12 Rechocto#7
Quote:
Wrong, Splitter[1] is already a string, you don't put the strings variable name in quotes..

As for the original poster, I have no idea what you're trying to say... "lern2engrish"?
Woot, my "lern2engrish" comment is catching on here now too.

Translation for his question,
"Does the command /effect serve a purpose? The code is as follows:"
09/12/2008 04:31 tao4229#8
Okay, if explained by rech, yes it serves a purpose, it shows the effect of the string name.(Found in 3DEffect.ini in the ini folder of your client.)
09/12/2008 06:27 taguro#9
Quote:
Originally Posted by Zanzibar View Post
Its goldendragon
Thanks for the correction. And in all reality, I don't see a purpose to this command. It was probably added because of the lack of "gem" and "cool" effects in the source.
09/12/2008 13:21 tao4229#10
Quote:
Originally Posted by taguro View Post
Thanks for the correction. And in all reality, I don't see a purpose to this command. It was probably added because of the lack of "gem" and "cool" effects in the source.
I actually like this command... although it needs minor tweaking to show everyone the effect.. But it let's you test out stuff you may need an effect for =]