Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   graalmsg tags (https://forums.graalonline.com/forums/showthread.php?t=73841)

Rapidwolve 05-06-2007 01:56 AM

graalmsg tags
 
Are the graalmsg tags still active? I did a search on forums and on one of the posts it read that these tags were going to be removed. I tried using it and it isn't working (from a .txt file). Did they really get removed? If so what alternative can I use for variables in external files.

cbk1994 05-06-2007 01:38 PM

Haha, graalmsg was removed a long time ago. Not sure how you would use variables in a .txt file, unless you had a parser of some sort and you did like

Hello @player.nick@, welcome to my server!

Crow 05-06-2007 01:55 PM

If I am right, the <graalmsg></graalmsg> stuff still works in PMs :o

cbk1994 05-06-2007 01:57 PM

Quote:

Originally Posted by Crow (Post 1305858)
If I am right, the <graalmsg></graalmsg> stuff still works in PMs :o

Oh, I think I know your problem.

Try this:

<graalmsg>#n</graalmsg>

instead of

<graalmsg>player.nick</graalmsg>

Graalmsg was in the GS1 time.

Crow 05-06-2007 02:05 PM

Exactly :o

Twinny 05-06-2007 02:47 PM

Foregive my noobness but what is graalmsg tags :confused:

Chandler 05-06-2007 02:54 PM

You could display client information inside of a private message

<graalmsg>hi #a</graalmsg>
I'm sure you can get that :p

However, you could also display string information
<graalmsg>hp: #s(clientr.hp)</graalmsg>
Which is probably why it was removed, if it was...

xXziroXx 05-06-2007 03:14 PM

PHP Code:

sendPM(
  
"Hello" player.account "!"
); 

:p

Rapidwolve 05-06-2007 03:53 PM

Quote:

Originally Posted by cbkbud (Post 1305860)
Oh, I think I know your problem.

Try this:

<graalmsg>#n</graalmsg>

instead of

<graalmsg>player.nick</graalmsg>

Graalmsg was in the GS1 time.

I did try that, it doesnt work...

Sum41Freeeeek 05-06-2007 04:26 PM

Mass Message:
<graalmsg>#n</graalmsg> is wall hacking!!! lmf rklg mg omg

I got pissed off at people who did that when I was a newb :[

Gambet 05-06-2007 04:58 PM

graalmsgs were used to crash player's clients and thus was probably removed

Sum41Freeeeek 05-06-2007 05:08 PM

Quote:

Originally Posted by Gambet (Post 1305899)
graalmsgs were used to crash player's clients and thus was probably removed

how so? I only remember those stupid html things crashing people's clients.

Crow 05-06-2007 05:17 PM

Quote:

Originally Posted by Sum41Freeeeek (Post 1305900)
how so? I only remember those stupid html things crashing people's clients.

Yea. You cant really crash a client with the message tags o.O

Gambet 05-06-2007 05:19 PM

I think it falls within the same compatibility, though (msgtags and the html).

Rapidwolve 05-06-2007 06:33 PM

So there are no alternatives? I really don't feel like scripting a parser.

cbk1994 05-06-2007 11:29 PM

http://forums.graal2001.com/forums/s...ad.php?t=73857

Text parser I just made. Specially for you ;)

You owe me a cookie.

Rapidwolve 05-07-2007 12:38 AM

Thanks you did a great job, but I made my own :P (Wasn't going to but ended up doing it anyways)

cbk1994 05-07-2007 12:45 AM

Haha okay.


All times are GMT +2. The time now is 02:41 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.