Jump to content
  • 0

checking value to script to atcommand?


Question

Posted

hello is this possible when an npc set a value example:

-------------------------------------------------

( On The Script )

set hehe,1; and the atcommand will check

-------------------------------------------------

( On The Atcommand Source )

if (hehe == 1) {

end;

}

is this possible?

5 answers to this question

Recommended Posts

Posted

hmm, set a value for what ? can you explain more what you're trying to accomplish ?

hmm let me give you an example:

when player 1 talk to npc 1 it will set the "set hehe,1;" and the atcommand example atcommand go will check it @go 1

"if ( hehe == 1 ) {"

"clif_displaymessage(fd, "Hehe is activated.");"

"}"

is this possible?

source code.

wooo it works! thank you clydelion ^_^

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...