Stygian help
Stygian help
Since I hope to start on a system in a few weeks, I've been getting help on the mudlet ircs and I'm at a roadblock and Demmonic asked me to screenshot one problem so here it is. I'll also continue to use this for any further help.
Re: Stygian help
you need to put the string you have in sub. into pattern.
(also the pattern line should be renamed to something like command/stuff you write/ect since, pattern is also used in triggers but there it is something you catch from the mud and not something you write yourself, well mostly)
(also the pattern line should be renamed to something like command/stuff you write/ect since, pattern is also used in triggers but there it is something you catch from the mud and not something you write yourself, well mostly)
Re: Stygian help
After it being mentioned by vadi, I noticed that i accidentally put the pattern in the substitution field.
Re: Stygian help
In need of more help. Demonnic was helping me well enough, but then he disappeared.
This is the script
it triggers of the regaining equilibrium.
the point of this is to reject any person added to my allies list by the love potion.
This is the error I keep getting.
Lua syntax error:[string "function Trigger384()..."]:3: unexpected symbol near 'or'
This is the script
Code: Select all
Stygian_doChase()
or lover,_ in pairs(in_love_with) do
Stygian_chaser([[send("reject ]] .. lover .. [[")]], {needsBal = false})
in_love_with[lover] = nil
end
the point of this is to reject any person added to my allies list by the love potion.
This is the error I keep getting.
Lua syntax error:[string "function Trigger384()..."]:3: unexpected symbol near 'or'
Re: Stygian help
'or' should be 'for', in your second line.
Also, if your in_love_with table is just a table of values like { "this", "is", "a", "table" } as opposed to { this = "is", a = "table" } then you probably want to use:
for _,lover in ipairs(in_love_with) do
etc.
Also, if your in_love_with table is just a table of values like { "this", "is", "a", "table" } as opposed to { this = "is", a = "table" } then you probably want to use:
for _,lover in ipairs(in_love_with) do
etc.