Graal Forums

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

Aethorpe 02-20-2005 08:33 PM

Showstr?
 
Ok, if I have a string, and I want to do showtext, say I have:

NPC Code:

showtext health,60,20,courier,r,STR;



How do I get it to show the value of STR instead of actually just printing "STR"

>.>

edit: Nevermind, I found it. I just replaced STR with: #v(STR)

x_x

Polo 02-20-2005 08:35 PM

NPC Code:
#s(STR)


Velox Cruentus 02-20-2005 08:35 PM

If it's a variable:
#v(str) instead of STR

If it's a string:
#s(str) instead of STR

Aethorpe 02-20-2005 08:37 PM

Quote:

Originally Posted by Velox Cruentus
If it's a variable:
#v(str) instead of STR

If it's a string:
#s(str) instead of STR

Wow, thanks both if you for replying so fast. :), even though I managed to figure it out before I came back to check for replies. >_<


All times are GMT +2. The time now is 01:45 PM.

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