Re: Custome Message Variables
By: Coolmax to All on Fri Jan 28 2005 22:45:00
Is there a way to have THE ON/OFF Display in the .ASC file..
So a custom message variable would be @EXTDISP@
eg: EXTENDED DISPLAY: @EXTDISP@
Mmmmmmm. Maybe some sort of (a)EXEC:EXTDISP(a) with the EXTDISP module checking and outputting ON/OFF accordingly?
Might work....
----8<----[extdisp.src]----8<----
!INCLUDE userdefs.inc
COMPARE_USER_MISC UM_EXTDESC
IF_TRUE
PRINT "ON"
ELSE
PRINT "OFF"
END_IF
----8<---------------------8<----
EXTENDED DISPLAY: @EXEC:EXTDISP@
Yep -- works here now!
Re: Custome Message Variables
By: Coolmax to All on Fri Jan 28 2005 22:45:00
Is there a way to have THE ON/OFF Display in the .ASC file..
So a custom message variable would be @EXTDISP@
eg: EXTENDED DISPLAY: @EXTDISP@
Mmmmmmm. Maybe some sort of (a)EXEC:EXTDISP(a) with the EXTDISP module checking and outputting ON/OFF accordingly?
Might work....
----8<----[extdisp.src]----8<----
!INCLUDE userdefs.inc
COMPARE_USER_MISC UM_EXTDESC
IF_TRUE
PRINT "ON"
ELSE
PRINT "OFF"
END_IF
----8<---------------------8<----
EXTENDED DISPLAY: @EXEC:EXTDISP@
Yep -- works here now!
----8<----[extdisp.src]----8<----
!INCLUDE userdefs.inc
COMPARE_USER_MISC UM_EXTDESC
IF_TRUE
PRINT "ON"
ELSE
PRINT "OFF"
END_IF
----8<---------------------8<----
Can ya email me your EXTDISP.SRC ya just made or tell me whats in it :)
Re: Re: Custome Message Varia
By: Coolmax to Angus Mcleod on Fri Jan 28 2005 23:43:00
----8<----[extdisp.src]----8<----
!INCLUDE userdefs.inc
COMPARE_USER_MISC UM_EXTDESC
IF_TRUE
PRINT "ON"
ELSE
PRINT "OFF"
END_IF
----8<---------------------8<----
Can ya email me your EXTDISP.SRC ya just made or tell me whats in it :)
Uh......
---
■ Synchronet ■ Where we BAJA Rob into writing our modules. The ANJO BBS
Re: Custome Message Variables
By: Coolmax to All on Fri Jan 28 2005 10:45 pm
Hi All
I've Add this code to my command shell
cmdkey E
TOGGLE_USER_MISC .19
COMPARE_USER_MISC UM_EXTDESC
if_true
CLS
print "\r\nExtended Descriptions Are Now ON\r\n"
end_cmd
end_if
CLS
print "\r\nExtended Descriptions Are Now OFF\r\n"
end_cmd
This toggles the extended list display on/off
Is there a way to have THE ON/OFF Display in the .ASC file..
So a custom message variable would be @EXTDISP@
eg: EXTENDED DISPLAY: @EXTDISP@
I'm not really sure what you're asking. You could display a different .ASC file
based on the results of the test (one for yes, and another no). <shrug>
digital man
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,031 |
Nodes: | 17 (1 / 16) |
Uptime: | 11:54:21 |
Calls: | 502,077 |
Calls today: | 24 |
Files: | 104,434 |
U/L today: |
1 files (6K bytes) |
D/L today: |
9,825 files (1,223M bytes) |
Messages: | 298,414 |
Posted today: | 1 |