How do I get the sysIrcMessage event to work? I've added it to the event handler and created the onIrcMessage function mentioned in the technical manual. No good.
I actually incorporated an IRC "client" into my chat system and used it for a time, but since you can't join other rooms I switched over to an actual client.
You still need to have the window open all the time if I remember correctly, so that may be a reason?
Is the script with the sysIrcMessage event called "onIrcMessage"? Or is the function registered as anonymous event handler? Otherwise mudlet wouldn't know what to call on the even.
I hate that my first post on the forums is a question this stupid, but:
I use the common tabbed chat script that I think most folks use, and all of a sudden (read: due to some user error on my part that I have yet to isolate) the font has changed to this weird, sans-serif, not-fixed-width, really hard to read font. I can't see anything in the scripts that specifies a font face for tabbed chat, and I have mudlet set to use a normal, legible monospace font (which it does, in the main console). But my comms are just wonky and hard as hell to read. Where should I be looking to fix this?
I exported my Achaean profile(triggers/aliases, etc) and reformatted my computer. How do I reinstall svo properly when my old profile has all my old svo files, along with the ndb, broken mapper paths, etc? Deleting my old svo folders and mapper folder in Mudlet didn't seem to work.
Aka.. how do I just re-import my triggers and aliases while leaving everything else behind? I'll start a new ndb and mapper.
Can anyone explain the newline after the 4? There's actually a space there too, so it goes "4 \n" but I have no idea why there's a newline there. It moves around too... if I take out everything after gmcp.Room.Info.area, then the area will appear on a new line.
I'm not sure if it should go here, but did anyone have any problems with displaying tables after installing the Blademaster limb counter? It came with a script that redid the display function to its own function, and somehow it seems to have messed up displaying tables at all. Something called "printable" was changed and now Mudlet can't do anything with it.
I'm a new Mudlet convert, from Zmud. I lost all my old settings in a computer crash, so I figured I might as well recreate it all in Mudlet. I've spent all weekend trying to learn the new language. I'm not a coder. At all. But I've got the jist for basic aliases, triggers, keys, variables, etc. What I've spent the last day trying to figure out is a window or compartment that displays what my current target is. I've gotten to where I can create the window/box through Geyser, change its color, location, size, etc. But what I can't figure out is how to get my current target to display in it. The variable name is target. The window is Info. Can someone help me with this?
Replace nameofyourwindow with the name of your window (funnily enough) and replace colours with whatever colour in which you want to display your target. This can be omitted if you're happy to use the default colour for your window
cecho("nameofyourwindow",target)
Tharos, the Announcer of Delos shouts, "It's near the end of the egghunt and I still haven't figured out how to pronounce Clean-dat-hoo."
I need to be able to make a different timer for each venom type, depending on what is currently selected. So in theory, I could need a curare.timer and a asthma.timer at the same time, and be able to disable them one at a time/check if they exist one at a time, so I am not sure I follow how to make it work in this example.
The global version @Antonius posted looks like it would work, assuming I understand fully. Will test when I get home. Thank you both.
I need to be able to make a different timer for each venom type, depending on what is currently selected. So in theory, I could need a curare.timer and a asthma.timer at the same time, and be able to disable them one at a time/check if they exist one at a time, so I am not sure I follow how to make it work in this example.
The global version @Antonius posted looks like it would work, assuming I understand fully. Will test when I get home. Thank you both.
After this fires, it appears that the timer still exists, when I try to check for it. Do temp timers not delete themselves when fired? Is there anyway for me to completely kill the timer from inside the timer so when I check if it exists, I know it is truly gone? Vlua curaretimer is still returning a function number even though I know it has fired
If I do that, I am looking at having to do something like this?
Next question would be, is the venom variable pulled at the point the trigger is made, or when it fires? Assuming it is the point in fires, I think I finally hit a wall in using timers of off a table.
The timer doesn't exist but the variable that you assigned it to that stores the ID still exists - tempTimer doesn't actually return you the timer, but its ID.
Comments
I actually incorporated an IRC "client" into my chat system and used it for a time, but since you can't join other rooms I switched over to an actual client.
You still need to have the window open all the time if I remember correctly, so that may be a reason?
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof
Is the script with the sysIrcMessage event called "onIrcMessage"? Or is the function registered as anonymous event handler? Otherwise mudlet wouldn't know what to call on the even.
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof
I hate that my first post on the forums is a question this stupid, but:
I use the common tabbed chat script that I think most folks use, and all of a sudden (read: due to some user error on my part that I have yet to isolate) the font has changed to this weird, sans-serif, not-fixed-width, really hard to read font. I can't see anything in the scripts that specifies a font face for tabbed chat, and I have mudlet set to use a normal, legible monospace font (which it does, in the main console). But my comms are just wonky and hard as hell to read. Where should I be looking to fix this?
Thanks!
Edit to include screenshot:
[ SnB PvP Guide | Link ]
Hnng... Needs more stylesheets.
My, now finished, one.
Any reason why the IRC client wouldn't connect? Or do anything for that matter? Just sits there blank…
tried reinstalling, deleting .config, and installing 2.0. Always the same result
Can anyone explain the newline after the 4? There's actually a space there too, so it goes "4 \n" but I have no idea why there's a newline there. It moves around too... if I take out everything after gmcp.Room.Info.area, then the area will appear on a new line.
I'm not sure if it should go here, but did anyone have any problems with displaying tables after installing the Blademaster limb counter? It came with a script that redid the display function to its own function, and somehow it seems to have messed up displaying tables at all. Something called "printable" was changed and now Mudlet can't do anything with it.
I'm a new Mudlet convert, from Zmud. I lost all my old settings in a computer crash, so I figured I might as well recreate it all in Mudlet. I've spent all weekend trying to learn the new language. I'm not a coder. At all. But I've got the jist for basic aliases, triggers, keys, variables, etc. What I've spent the last day trying to figure out is a window or compartment that displays what my current target is. I've gotten to where I can create the window/box through Geyser, change its color, location, size, etc. But what I can't figure out is how to get my current target to display in it. The variable name is target. The window is Info. Can someone help me with this?
Thanks.
Replace nameofyourwindow with the name of your window (funnily enough) and replace colours with whatever colour in which you want to display your target. This can be omitted if you're happy to use the default colour for your window
Syntax could be off, I am on my phone which is why I can't test it. I am doubting this works, though.
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof
_G[venom .. "timer"]
(Posting code on a phone is a nightmare)
Results of disembowel testing | Knight limb counter | GMCP AB files
GMCP documentation: https://github.com/keneanung/GMCPAdditions
svof github site: https://github.com/svof/svof and documentation at https://svof.github.io/svof
The global version @Antonius posted looks like it would work, assuming I understand fully. Will test when I get home. Thank you both.
Edit: is it G_ or _G?
Results of disembowel testing | Knight limb counter | GMCP AB files
After this fires, it appears that the timer still exists, when I try to check for it. Do temp timers not delete themselves when fired? Is there anyway for me to completely kill the timer from inside the timer so when I check if it exists, I know it is truly gone? Vlua curaretimer is still returning a function number even though I know it has fired
Edit: phone coding, whee!
If I do that, I am looking at having to do something like this?
Next question would be, is the venom variable pulled at the point the trigger is made, or when it fires? Assuming it is the point in fires, I think I finally hit a wall in using timers of off a table.
Svof
Mudlet Discord join up