Jump to content
  • 0

H>Disguise Script


Sallycantdance

Question


  • Group:  Members
  • Topic Count:  225
  • Topics Per Day:  0.14
  • Content Count:  798
  • Reputation:   12
  • Joined:  12/04/20
  • Last Seen:  

im having this error can someone help me ty

Quote

[Error]:  Loading NPC file: npc/thor/DisguiseEvent.txt
script error on npc/thor/DisguiseEvent.txt line 45
    parse_line: expect command, missing function name or calling undeclared function
    40 :                        if(select("Yes:No")==2) close;
    41 :                        if (.EventON) {
    42 :                                set .EventON,0; set .Timer,0;
    43 :                                setnpctimer 0; stopnpctimer;
    44 :                                announce "A GM has decided to turn the Disguise Event off. As a result no further prizes will be given.",bc_map | bc_blue;
*   45 :                                'd'eletepset 1;
    46 :                                setnpcdisplay "Disguise Event",795;
    47 :                                close;
    48 :                        }
    49 :                        set .EventON,1; set .Timer,1; setnpctimer 0; initnpctimer;
    50 :                        set .ResetCounter,.ResetCounter+1;
[Info]: Done loading '8623' NPCs:
        -'2958' Warps
        -'213' Shops
        -'5452' Scripts
        -'3315' Spawn sets
        -'39916' Mobs Cached
        -'0' Mobs Not Cached
[Status]: Event 'OnInit' executed with '939' NPCs.
[Status]: Event 'OnInterIfInit' executed with '0' NPCs.
 

 

DisguiseEvent.txt

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  225
  • Topics Per Day:  0.14
  • Content Count:  798
  • Reputation:   12
  • Joined:  12/04/20
  • Last Seen:  

5 hours ago, Reloadscript said:

Miss function deletepset.

I think.

yes its the error i already installed pcre2 i still got that error haha

Link to comment
Share on other sites

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.

×
×
  • Create New...