Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ General ➜ Loggin Alias Problems

Loggin Alias Problems

You need to log onto the forum to reply or create new threads.

  Refresh page


Posted by Markomo   (28 posts)  Bio
Date Sat 05 Oct 2024 08:09 PM (UTC)

Amended on Thu 10 Oct 2024 05:01 AM (UTC) by Nick Gammon

Message
Hello,

i want only Logging the Output from my Commands/Alias. So i wrote a Alias like this


Alias: ^b ([A-z]+)$

Send: 
vitem = "%1"
Send("untersuche "..vitem)
Send("lausche "..vitem)
Send("rieche "..vitem)
--Send("nimm "..vitem)
--Note("untersuche "..vitem)
--Note("lausche "..vitem)
--Note("rieche "..vitem)

Send To: script

Options = Enabled, Regular Expression, Echo Alias 


If i send my Alias i get only in the Logfile the line "b boden" without:


untersuche boden
lausche boden
rieche boden


What i am doing wrong?

Thanks!

/edit: I found the answer:


vitem = "%1"
LogSend("untersuche "..vitem)
LogSend("lausche "..vitem)
LogSend("rieche "..vitem) 



I must use "LogSend"
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.


324 views.

You need to log onto the forum to reply or create new threads.

  Refresh page

Go to topic:           Search the forum


[Go to top] top

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