[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  omit from output
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

omit from output

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Zendu   (66 posts)  [Biography] bio
Date Tue 11 May 2004 10:30 PM (UTC)
Message
I have a trigger based on "you have slain a young rat"
SetVariable "ratcount", CInt (GetVariable ("ratcount")) + 1
SetVariable "ratcash", CInt (GetVariable ("ratcash")) + 20
world.Note "You have now slain " & GetVariable ("ratcount") & " rats, worth " & GetVariable ("ratcash")

basically its to let me know how much cash ive made so far. However, if i make a trigger with a higher sequence to omit the "you have slain a young rat" it also omits my world.note. I cant figure out how to make it work.

God im helpless
Currently using MushClient 3.46 on Win Xp pro on [url=www.aetolia.com]Aetolia[/url]
[Go to top] top

Posted by Ked   Russia  (524 posts)  [Biography] bio
Date Reply #1 on Wed 12 May 2004 03:45 AM (UTC)
Message
Make 2 triggers for the same line, have trigger with a higher sequence (99) send those commands directly to scripting and set it to keep evaluating, the second trigger with a lower sequence (100) should omit from output.
[Go to top] top

Posted by Zendu   (66 posts)  [Biography] bio
Date Reply #2 on Wed 12 May 2004 08:33 AM (UTC)
Message
i had one (110) it also omited my world.sendnote

God im helpless
Currently using MushClient 3.46 on Win Xp pro on [url=www.aetolia.com]Aetolia[/url]
[Go to top] top

Posted by Nick Gammon   Australia  (21,609 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Wed 12 May 2004 10:26 PM (UTC)
Message
Read this post:


http://www.gammon.com.au/forum/?bbsubject_id=4161


It describes how if you omit from output in a trigger it also omits world.notes.

The solution is to call a script in a script file, not "send to script" - then it won't be omitted.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


4,064 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]