- 25
- Posts
- 10
- Years
- Seen Aug 6, 2014
So I have written this little Script,
#dynamic 0x800000
#org @start
lock
msgbox @talk1 0x5
compare LASTRESULT 0x1
if 0x1 goto @give
release
end
#org @give
giveitem 0x0 0x1 MSG_OBTAIN
msgbox @talk1 0x6
setflag 0x201
#org @talk1
= Willst du den Wasserstein?
Which asks you if you want to have this specific item when you try to get it.
However when i want to compile this i get this error :
type mistmatch in line 5
#define missing
Spoiler:
#dynamic 0x800000
#org @start
lock
msgbox @talk1 0x5
compare LASTRESULT 0x1
if 0x1 goto @give
release
end
#org @give
giveitem 0x0 0x1 MSG_OBTAIN
msgbox @talk1 0x6
setflag 0x201
#org @talk1
= Willst du den Wasserstein?
Which asks you if you want to have this specific item when you try to get it.
However when i want to compile this i get this error :
type mistmatch in line 5
#define missing