Jump to content
  • 0

Getting error using .@input$ ?


Question

Posted (edited)

Hi there, I'm having a problem with a simple NPC, using .@input$, here it is :

ivo_fild,102,50,0	script	Antitée	452,3,3,{
mes "[Mana]";
mes "Comment appel-t'on le marteau de Thor ?";
next;
[b]input .@input$;
if (.@input$ == "Mjolnir" || "mjolnir"){
mes "[Mana]";
mes "C'est ça.";
close;
}
}

The error I get :

[Error]: script:op_2: invalid data for operator C_LOR
[Debug]: Data: number value=0
[Debug]: Data: string value="mjolnir"
[Debug]: Source (NPC): AntitÚe at ivo_fild (102,50)

Edited by Auryn

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...