View Issue Details

Category
SSPBT:本体(SSP)
SeveritymajorReproducibilityalways 
Status closed 
Fixed in Version2.7 (リリース) 
Summary0000617: Calling functions with %() doesn't seem to be working
DescriptionSSP/2.6.52 (20231121-3; Windows NT 10.0.19045)
Tested with ghosts using YAYA Tc571-6

Code:
```
OnMenuTestA : all
{
    "\C\![lock,balloonrepaint]\c"
    "\_q\b[0]"
    "\![*]\q[OnMenuTestB,OnMenuTestB]"
    "\![unlock,balloonrepaint]"
}

OnMenuTestB : all
{
    "\C\![lock,balloonrepaint]\c"
    "\_q\b[2]"
    "\![*]\q[OnMenuTestA,OnMenuTestA]"
    "\![unlock,balloonrepaint]"
}
```

The following code is in OnTranslate:
```
OnTranslate
{
    _talk = reference0
    
    if reference1 == "" && reference2 == "" //If this is from the input box
    { //send input box : no event (ref2) , no special flag (ref1)
        _talk = EVAL('"' + REPLACE(_talk,'"','""') + '"')
    }
    
    TOSTR(_talk)
}
```

Using `\![raise,OnMenuTestA]` in script input will open the menu normally, but using `%(OnMenuTestA)` in script input will not. In previous versions of SSP, %() used to work.
The script is appearing in script log normally, and if executed from script log (or if the resulting script is pasted into script input) it will run fine. But otherwise, the tags will not execute. Sometimes I have seen the balloon briefly flicker into existence, but then it disappears again.
Attached Files
23-12-24_02.gif (162,893 bytes)   
23-12-24_02.gif (162,893 bytes)   

Activities

ponapalt

2026-03-08 20:55

administrator   ~0001738

2.7.75

Issue History

Date Modified Username Field Change
2023-12-25 13:29 guest New Issue
2023-12-25 13:29 guest File Added: 23-12-24_02.gif
2026-03-08 20:55 ponapalt Assigned To => ponapalt
2026-03-08 20:55 ponapalt Status new => closed
2026-03-08 20:55 ponapalt Resolution open => fixed
2026-03-08 20:55 ponapalt Fixed in Version => 2.7 (リリース)
2026-03-08 20:55 ponapalt Note Added: 0001738