Fixed OOC/IC private throwing error.

This commit is contained in:
Umiko 2025-02-12 13:06:50 +07:00
parent f09e003932
commit 53a4ea8559

View File

@ -99,8 +99,8 @@ playsound {cosmic rage/general/comms/help.wav} @CommsVol}
#trigger {* flashes * indicating you have a new mail titled *} {playsound {cosmic rage/general/comms/mail.wav} @CommsVol; BufferAdd Notifications %0}
#trigger {[[]News]*:*} {playsound {cosmic rage/general/comms/onews.wav} @CommsVol; BufferAdd Notifications %0}
#trigger {[[]* to * transmits *], } {playsound {Cosmic Rage/general/comms/PrivCom.wav} @CommsVol}
#TRIGGER {[[]* to *], "*"} {QGagger; {#sub {[%1 to %2], %3}}; #if {%ifword(OOCly,%2, )} {playsound {Cosmic Rage/general/comms/PrivOOCCom.wav} @CommsVol; BufferAdd OOCPrivate %0; FileLogger PrivateOOC %0} {playsound {Cosmic Rage/general/comms/PrivCom.wav} @CommsVol; BufferAdd ICPrivate %0; fileLogger Private %0}} {} AnyCase
#TRIGGER {[[]* to *], "*"*"*"} {QGagger; {#sub {[%1 to %2], %3%4%5}}; #if {%ifword(OOCly,%2, )} {playsound {Cosmic Rage/general/comms/PrivOOCCom.wav} @CommsVol; BufferAdd OOCPrivate %0; FileLogger PrivateOOC %0} {playsound {Cosmic Rage/general/comms/PrivCom.wav} @CommsVol; BufferAdd ICPrivate %0; FileLogger Private %0}} {} AnyCase
#TRIGGER {[[]* to *], "*"} {#if {@QGag = 1} {#sub {[%1 to %2], %3}}; #if {%ifword(OOCly,%2, )} {playsound {Cosmic Rage/general/comms/PrivOOCCom.wav} @CommsVol; BufferAdd OOCPrivate %0; #if {@ChannelLogging = "Enabled"} {#file 1 {cosmic rage/logs/%char PrivateOOC.log};#write 1 %0;#close 1}} {playsound {Cosmic Rage/general/comms/PrivCom.wav} @CommsVol; BufferAdd ICPrivate %0; #if {@ChannelLogging = "Enabled"} {#file 1 {cosmic rage/logs/%char Private.log};#write 1 %0;#close 1}}} {} AnyCase
#TRIGGER {[[]* to *], "*"*"*"} {#if {@QGag = 1} {#sub {[%1 to %2], %3%4%5}}; #if {%ifword(OOCly,%2, )} {playsound {Cosmic Rage/general/comms/PrivOOCCom.wav} @CommsVol; BufferAdd OOCPrivate %0; #if {@ChannelLogging = "Enabled"} {#file 1 {cosmic rage/logs/%char PrivateOOC.log};#write 1 %0;#close 1}} {playsound {Cosmic Rage/general/comms/PrivCom.wav} @CommsVol; BufferAdd ICPrivate %0; #if {@ChannelLogging = "Enabled"} {#file 1 {cosmic rage/logs/%char Private.log};#write 1 %0;#close 1}}} {}
#trigger {[[]Salvage Collecter Garry Blue Scale to you]*} {playsound {Cosmic Rage/general/comms/PrivCom.wav} @CommsVol}
#trigger {currently, SDL Jumpship * is located in Sector * at coordinates: *} {#sub {[Officer of the %1 to you]: we are currently located in Sector %2 at coordinates: %3}; playsound {cosmic rage/general/comms/PrivCom.wav} @CommsVol; BufferAdd ICPrivate %0}
#trigger {[[]Trade]*} {playsound {cosmic rage/general/comms/trade.wav} @CommsVol; BufferAdd Trade %0; fileLogger Trade%0} {} AnyCase