Door Games Unlimited

Welcome, Guest.


Subject: Replaceable Peram Date: Fri Oct 23 2015 13:18:55
From: Nightfox To: DesotoFireflite

 > How do you go about using the @ replaceable perameters in a js file. I 
tried
 > to add time left to the chat module, and all it did was print TIMELEFT
 > instead of putting the actual time left. Can it be done as part of the
 > prompt, or am I trying to invent the wheel again. As always, Thanks.

The console.putmsg() function should do what you want.  console.putmsg() will
interpret @-codes, etc. as it displays the text you give it.  For parameters,
it takes a text string and an optional mode bits parameter.

http://www.synchro.net/docs/jsobjs.html#console

Nightfox

---
 ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com

Previous Message       Next Message
In Reply To: Replaceable Peram (DesotoFireflite)
Replies: Replaceable Peram (DesotoFireflite)