Forum

Please note that you can subscribe to the individual forums. A subscription for news only covers the news.

Notifications
Clear all

popup bug?

   RSS

0
Topic starter

Hi Sven,

It appears that the nopopupif=flagname and popupif=flagname commands no longer work in the latest version and produce an error in script message static keyword not allowed in popup: 

Is this a bug? 

Thanks for all your work,

Chazz

6 Answers
0

Hi Chazz,

I must admit that I don't remember those keywords. But it sounds like a bug. I will look into it.

Sven

 

0

Hi Chazz,

I did some tests, and you are right there is a bug. The keyword popupif is not allowed. It will be fixed in the next release.

However nopopupif worked fine. If you still experience problems with that, I will need a script that gives the error.

Sven

 

0
Topic starter

Thanks for looking into it so quickly. I'll check and see if nopopupif works with the script and let you know. 

 

Chazz

0
Topic starter

Hi... The following script does states that the nopopupif keyword is not allowed. It does the same if popupif is used.

 

Chazz

 

[General]
MinVersion=4.0 Beta 13
Version=2010-12-20
Master=TEST
SubName=sub
AskPunishment=25,75
ForgetPenalty=40
IgnorePenalty=75
maxdecline=100
TestMenu=1
Restrict=0

;----------
[init]
Merits=900

;------------------
[events]

;-----------------
[report-start popup]
procedure=startpopup

[procedure-startpopup]
newstatus=popup

[status-popup]
popupgroup=tease

[popupgroup-tease]
PopupInterval=00:02,00:04

[popup-TEASE]
message=tease example
group=tease
nopopupif=doesntliketease

0

popupif and nopopupif must be used in a status definition. Not in popups.

In popups you can simply use if and notif if you want that single popup to not be used.

Sven

0
Topic starter

Got it!! Thanks for your help!

 

Chazz