Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
kurosh
Beginner


Joined: 01 May 2002
Posts: 18

PostPosted: 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.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: 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
Reply with quote
kurosh
Beginner


Joined: 01 May 2002
Posts: 18

PostPosted: Thu Nov 07, 2002 5:18 am   
 
I did that but that's only for when I type in, the triggers still output normally.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: 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
Reply with quote
kurosh
Beginner


Joined: 01 May 2002
Posts: 18

PostPosted: Thu Nov 07, 2002 11:39 pm   
 
Ok thanks
Reply with quote
kurosh
Beginner


Joined: 01 May 2002
Posts: 18

PostPosted: 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.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net