Zmud... Omitting a character in a trigger.

Scripts and support for your favorite MUD client.
Dranak
Sojourner
Posts: 14
Joined: Mon Jan 29, 2001 6:01 am

Zmud... Omitting a character in a trigger.

Postby Dranak » Sat Mar 10, 2001 2:52 am

OK.. here's my dilemma... I want to make a script, so that when someone tells me or says a command, i perform it... (this is just for fun mind you)... currently i'm trying this...

#trig {Personx tells you '%1} {%1}

so if someone tells me to bounce it will output bounce' with the quote at the end... I need to know how to omit that character!!

Dranak!
Faerwynd
Sojourner
Posts: 115
Joined: Mon Jan 29, 2001 6:01 am
Location: Houston, TX
Contact:

Postby Faerwynd » Sat Mar 10, 2001 2:57 am

Mind you I'm no coding expert, but have you tried putting a ' quote after the %1?

#trig {Personx tells you '%1'} {%1}
^^^^
Seems like it should work. *shrug*
Elscint
Sojourner
Posts: 84
Joined: Wed Feb 14, 2001 6:01 am
Location: Fremont, WI, USA

Postby Elscint » Sat Mar 10, 2001 2:57 am

uh, this should work.

#trigger {tells you, '%1'} {%1}

Elscint Hairytoes (The Halfling Sorcerer)
Luke

though this would almost definately be considered a bot =P I can't think of any reason they'd actually let you get away with it.
Gindipple
Sojourner
Posts: 676
Joined: Fri Jan 26, 2001 6:01 am
Location: O' Fallon, MO. USA
Contact:

Postby Gindipple » Sat Mar 10, 2001 3:15 am

Gindipple tells you, 'rem all'
Gindipple tells you, 'give all Gindipple'
Gindipple tells you, 'thank Gindipple'

Image
Tayros
Sojourner
Posts: 194
Joined: Mon Jan 29, 2001 6:01 am

Postby Tayros » Sun Mar 11, 2001 4:48 am

I just want to go on record as saying:

DANGER!!! DANGER!!! DANGER!!! DANGER!!!

Tayros tell you, "quit;y"

Then what??? Sometimes the ability to trigger requires the dicipline to not trigger Image

Tayros

[This message has been edited by Tayros (edited 03-10-2001).]

[This message has been edited by Tayros (edited 03-11-2001).]
Wargar
Sojourner
Posts: 48
Joined: Wed Feb 07, 2001 6:01 am

Postby Wargar » Mon Mar 19, 2001 4:25 am

When I first started using Zmud, an old friend had me set up a trig exactly like you described, in order to show me Zmud's capabilities! Well I quickly did, and I was amazed! Then he did this tell!

Kanador tells you 'clap;fart;ooc Mystra is a fatty!;ooc and Kanador is AWESOME!' - I was hooked on zmud from that point on!

Wargar/Sarlend
Karikhan
Sojourner
Posts: 471
Joined: Fri Mar 16, 2001 6:01 am

Postby Karikhan » Mon Mar 19, 2001 12:12 pm

ooo shit that is scary!!!

you hadda know you were in for it with a post like that!!!


Karikhan tells you 'petition please delete my ass i am running a bot!!!"

i got accused once of running a bot with trigers.. all i was doing was trying to notch my sumon skill .. i had create food x5 rest pray med set in .. kept hittin up arrow, enter ....was even hard to defend myself .. and it was purely innocent!!


--------------
-Frobby's toy :P

Return to “MUD Client Help”

Who is online

Users browsing this forum: No registered users and 24 guests