| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | [Spam] Re: EleBBS: Changing english.ral on the fly |
* EleBBS Support List > I dont know if this is possible, but is there a way to temporarily change > a prompt in the english.ral file via script > and then change it back again. It should be possible to do this by using the Cfg_File****** commands (though I've never tried them to read a language file personally) , but I'm sure there is a much cleaner method to accomplish what you are trying to do without resorting to writing to the language file. For example you can have the language file prompt simply run a script and allow the script to control which prompt is actually displayed based on some user flags, security, a random number, or even on custom made semephore files. But If you insist on using Cfg_File***** commands, here is a small example of how I used some of the Cfg_File*** commands to read the config.ra and grab either the semephore path, or if none was defined it grabs the main EleBBS path itself. This is from my who's online script: ; Need to find the semephore path from config.ra Cfg_FileOpen 1 config.ra CONFIG Cfg_FileRead 1 ; Get field number 189 (Semephore Path) Cfg_FileGetInfo 1 189 30 If 30 = "" Cfg_FileGetInfo 1 31 30 EndIf Cfg_FileClose 1 Regards, Mike _______________________________________________________________ --- Internet Rex 2.29* Origin: The gateway at The Snake (2:280/4312.101) SEEN-BY: 633/267 270 @PATH: 280/4312 774/605 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.