Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Quest script wont work?


chrisaub
 Share

Recommended Posts

it wont work for my birthday event il show you script

ase 1
Call PlayerMsg(index, "I am Chris, Bring Me yellow gifts for Voyage Points?", 12)
If CanTake(Index, 4, 1) = false Then
    Call PlayerMsg(index, "Please get me a gift its my birthday!", 12)
Else
    Call TakeItem(index, 4, 1)
    Call GiveItem(index, 6, 25)
    Call PlayerMsg(index, "Thanks heres what ever was in it you can keep it", 12)
End If
Exit Sub

* i didnt know how to use code box thingy*

and when i go to server control panel scripts off when i turn it on it all goes off and wont come back on untill i put it off again i think error is 306
Link to comment
Share on other sites

just dont minimize the script editor save and close it when you're done

ok post your main.txt from scripted npc to the end and ill see if you did anything wrong…..... make sure you use the [quote… /quote] so it doesnt make a huge post ;)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...