Gamepoint npc script problem

Mu online season 21 - grand opening

NewHope

Golden Oldie
Golden Oldie
Nov 18, 2005
1,311
28
184
I made this script, that if you give an item you gain a gamepoint - however if you don't have the item it still gives you the gamepoint, anyone have any ideas how i can fix please?

Heres the scrip:

[@item]
#IF
checkitem ITEM
#ACT
take ITEM
GAMEPOINT + 1
#SAY
You gained 1 Gamepoint!\
<Return to Gamepoint menu/@yes>\
<Exit/@exit>\
#ELSEACT
You do not have the correct ITEM, please return when you do.\
<Exit/@exit>\
 

gandy

Dedicated Member
Dedicated Member
May 13, 2003
94
0
82
#IF
CHECKITEM ITEM 1

Also you have speech in the elseact statement
 
Upvote 0

-Raz0rfang-

Golden Oldie
Golden Oldie
Jan 30, 2006
831
0
103
Banned
gandy said:
#IF
CHECKITEM ITEM 1

Also you have speech in the elseact statement
aka elseact must be elsesay
try this one
[@item]
#IF
checkitem ITEM 1
#ACT
take ITEM 1
GAMEPOINT + 1
#SAY
You gained 1 Gamepoint!\
<Return to Gamepoint menu/@yes>\
<Exit/@exit>\
#ELSESAY
You do not have the correct ITEM, please return when you do.\
<Exit/@exit>\
 
Upvote 0

NewHope

Golden Oldie
Golden Oldie
Nov 18, 2005
1,311
28
184
-Raz0rfang- said:
aka elseact must be elsesay
try this one
[@item]
#IF
checkitem ITEM 1
#ACT
take ITEM 1
GAMEPOINT + 1
#SAY
You gained 1 Gamepoint!\
<Return to Gamepoint menu/@yes>\
<Exit/@exit>\
#ELSESAY
You do not have the correct ITEM, please return when you do.\
<Exit/@exit>\
Thanks, i did try ELSESAY, but it still didn't work - i was just making any edits i could think of lol. :D
 
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
175
Code:
[@item]
#IF
CHECKITEM ITEM 1
#ACT
TAKE ITEM 1
GAMEPOINT +1
#SAY
You gained 1 Gamepoint!\
<Return to Gamepoint menu/@yes>\
<Exit/@exit>\
#ELSESAY
You do not have the correct ITEM, please return when you do.\
<Exit/@exit>\
 
Upvote 0