Imperian Forums: Coding Help - Imperian Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Coding Help Using MUSH

#1 User is offline   Laphir Icon

  • Inept Member
  • Pip
  • Group: Imperians
  • Posts: 23
  • Joined: 10-August 07
  • Gender:Male
  • Location:SA. TX.

Posted 09 March 2010 - 08:44 AM

Basicaly, I'm trying to gag the game prompt and replace it with my own. I was kinda successful but as you can see in the log (attached), there's always that one prompt that pops up somehow. Does anyone know how I can prevent the game prompt from popping up?

Also, this is my trigger:

<triggers>
<trigger
enabled="y"
match="^NL\: (\d+)\/(\d+)h (\d+)\/(\d+)m (\d+)\/(\d+)e (\d+)\/(\d+)w ([A-Za-z0-9&lt;&gt;@]*?) ([A-Za-z0-9&lt;&gt;@]*?) "
omit_from_log="y"
omit_from_output="y"
regexp="y"
script="atcp"
sequence="90"
>
</trigger>
</triggers>
Posted Image
0

#2 User is offline   Laphir Icon

  • Inept Member
  • Pip
  • Group: Imperians
  • Posts: 23
  • Joined: 10-August 07
  • Gender:Male
  • Location:SA. TX.

Posted 09 March 2010 - 08:45 AM

And this is the file I meant to attach...

Attached File(s)


Posted Image
0

#3 User is offline   Krath Icon

  • Adept Member
  • PipPipPipPipPip
  • Group: Imperians
  • Posts: 607
  • Joined: 20-July 06
  • Gender:Male

Posted 09 March 2010 - 09:35 AM

Edit: Oops, thought I saw zmud.
-- Aedius Reopev

Posted Image
0

#4 User is offline   Silken Icon

  • Mythical Member
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Imperians
  • Posts: 4,283
  • Joined: 11-July 04
  • Gender:Female
  • Location:Planet Earth
  • Interests:Things

Posted 09 March 2010 - 05:50 PM

What client are you using? That will help others answer your question.

Crys said:

I are teh $&^#, this is unbeknownst to anyone else.. a smart remark. I are make a useless point that goes nowhere, then use someone elses jokes and one liners to insult someone i dont like. I are have no clue what teh topic is, i are just teh l33t troll.

;) i are winking, as if to say "Im on a higher plane of existence than you, and im all knowing, you're not and dont know the hidden meaning behind everything i say"

I ARE WANT TEH LAST WORD!

Teh.


View PostRasca, on Mar 8 2006, 08:57 PM, said:

AHHH THERE CAN BE NO RECONCILIATION!
0

#5 User is offline   Laphir Icon

  • Inept Member
  • Pip
  • Group: Imperians
  • Posts: 23
  • Joined: 10-August 07
  • Gender:Male
  • Location:SA. TX.

Posted 09 March 2010 - 05:54 PM

I'm using Mush, it actually says that in the title. I'm coding in Lua though if that helps.
Posted Image
0

#6 User is offline   Tau Icon

  • Virtuoso Member
  • PipPipPipPipPipPipPipPipPip
  • Group: Imperians
  • Posts: 2,025
  • Joined: 29-August 04
  • Gender:Male
  • Location:Canada

Posted 09 March 2010 - 09:50 PM

Send Andrea or Juran a message, I think they are pretty fluent with Lua. There is also quite a few wiki's out there with good help and tutorials.
Also try http://webchat.freen...channels=mudlet

That is the mudlet IRC but seems everyone knows Lua there.

Quote

4040 Sent By: Eldreth Received On: 05/10/15:48 Last Read: n/a
"As soon as I saw all of those mages to choke..and Fieran declared my final relearn in Kaido was over..it was like I became a fat man at a buffet line."

View PostApoloc, on 14 May 2010 - 07:00 PM, said:

It's a sad state of affairs, but sadly much like a school for the handicapped taking a field trip to an electrical plant. Retards end up in power.

Quote

(Market): Pareze says, "Seeking reply ((cream cheese is yeast infection, I can'tget my mind past it, like I'm biting into a dirty lyke))
0

#7 User is offline   Trevize Icon

  • Inept Member
  • Pip
  • Group: Imperians
  • Posts: 10
  • Joined: 02-October 09

Posted 12 March 2010 - 08:54 PM

If the trigger is'nt "gagging" the prompt it's because the pattern aint matching..

Try using another pattern. Maybe this
^NL\: (\d+)\/(\d+)h (\d+)\/(\d+)m (\d+)\/(\d+)e (\d+)\/(\d+)w ([^\s]+)\s?([^\s]*)

Or something even more basic like this:
^NL\: (\d+)\/(\d+)h (\d+)\/(\d+)m (\d+)\/(\d+)e (\d+)\/(\d+)w.*


If you need any help you can always send a me a tell ingame, good luck.
0

#8 User is offline   Laphir Icon

  • Inept Member
  • Pip
  • Group: Imperians
  • Posts: 23
  • Joined: 10-August 07
  • Gender:Male
  • Location:SA. TX.

Posted 14 March 2010 - 03:50 AM

Well I found the problem, I had whytes system running in the background and didn't realise I had the healing triggers loaded so it messed it up some how.
Posted Image
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users