Graal Forums

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

reeset1 07-02-2002 09:44 AM

Comparing Strings
 
Anyone know how to compare a string with oyur account name?
like this:

if(strequals(#a,#s(string))){
blah blah blah;
}

that doesnt work, but you should know what I mean. If it does work, something is fuxed up with graal. Please help if you can, ITS ALL THAT IS BETWEEN ME AND TOTAL DOMINATION!!!

Python523 07-02-2002 09:48 AM

if(playerenters&&strequals(#s(stringname),#a))

reeset1 07-02-2002 09:58 AM

How stupid of me, I just did almost the exact same thing before o_0
Thanks. Now, if it got put online...:D


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

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