Programing question

Desolation Mir2 (Med Rate Server)

zedina

Mir3 Dev
Legendary
Dec 22, 2005
3,271
2
1,159
370
I will wirte in SQL the curent SABUK WALL onwer but i cant use this variable

CS_SABUK_OWNER
$CS_SABUK_OWNER
%CS_SABUK_OWNER
in #ACT or how to get the curent sabuk owner ?

but in #SAY i can use <$CS_SABUK_OWNER>


[@test]
#ACT
FormatStr "'SABUK','Flag','%s'" $CS_SABUK_OWNER
WriteValueSql "TBL_CastleCaptureStatus" "Hero='LASDFJop2i3MSLA'" "Castle,Hero,Guild" %A9

#SAY
WriteValueSql "TBL_CastleCaptureStatus" "Hero='LASDFJop2i3MSLA'" "Castle,Hero,Guild" <$OUTPUT(A9)>
<$CS_SABUK_OWNER>
 

zedina

Mir3 Dev
Legendary
Dec 22, 2005
3,271
2
1,159
370
so still not work by me

code

[@test]
#ACT
AddStr A1 <$CS_SABUK_OWNER>
#SAY
<$OUTPUT(A1)>\
;this dont show nothing
;i will to have the guild name who have the flag in A1

other question
when this command runn and the falg ist taked over
CAPTURECASTLEFLAG [SABUK]

how can i refressh the flag to show the curent owner flag.
 
Upvote 0