|
kurosh Beginner
Joined: 01 May 2002 Posts: 18
|
Posted: Thu Nov 07, 2002 4:27 am
How do I make a trigger output in the pure telnet |
How do I make a trigger output in the pure telnet mode where it just sends something directly. The kind it is when you dont have to press enter it sends it letter by letter.
|
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Thu Nov 07, 2002 4:43 am |
Click on the Prefs button, expand General, click on Emulation, and check the box for Character Mode.
Kjata |
|
|
|
kurosh Beginner
Joined: 01 May 2002 Posts: 18
|
Posted: Thu Nov 07, 2002 5:18 am |
I did that but that's only for when I type in, the triggers still output normally.
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Nov 07, 2002 6:50 am |
What do you expect it to do differently? The only possible difference between sending a line of characters from a trigger character-by-character or as a line is the end-of-line character. If it's sending an undesired end-of-line, use #SENDPROMPT. That will mean you don't see the trigger's output though.
LightBulb
Senior Member |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Thu Nov 07, 2002 1:06 pm |
Triggers, by definition, can't send something letter by letter. Since all of the text that is going to be sent to the MUD is in the trigger, it is just sent all at once.
If you are talking about sending without a newline at the end, then do what LightBulb suggested: use #SENDPROMPT.
Kjata |
|
|
|
kurosh Beginner
Joined: 01 May 2002 Posts: 18
|
Posted: Thu Nov 07, 2002 11:39 pm |
Ok thanks
|
|
|
|
kurosh Beginner
Joined: 01 May 2002 Posts: 18
|
Posted: Fri Nov 08, 2002 12:14 am |
Another quick question... how can you convert numbers with comma's in them into numbers without so you can use them in math. Like 125,123 into 125123.
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Fri Nov 08, 2002 1:05 am |
quote:
Another quick question... how can you convert numbers with comma's in them into numbers without so you can use them in math. Like 125,123 into 125123.
#variable Number_NoCommas %replace(@Number_WithCommas, ",","")
Another way might involve use of %format(), but I think that only works in the opposite direction (ie, inserting commas into comma-less numbers).
li'l shmoe of Dragon's Gate MUD |
|
|
|
|
|