Condition Caller needed and I'm Zmud dumb
Condition Caller needed and I'm Zmud dumb
Before my old computer blew up, I had a good condition caller that stated the full name of the mob instead of just Mob is pretty hurt! or "Keyword" is pretty hurt.
Can anyone scrounge me up a condition caller that can do this?
Can anyone scrounge me up a condition caller that can do this?
Memorable Quotes from TorilMUD Gathering 2006
Sotana sez, 'I'll take it dirty.'
Teflor sez, 'Bobo, show me on the doll where the barbarian touched you.'
Duna sez, 'Is there anything else that needs to go in my backend?'
Pril sez, 'I'm too pretty to go to jail.'
Boboloppe sez, 'The only reason I joined Imphras was because of Sotana's ass.'
Sotana sez, 'I'll take it dirty.'
Teflor sez, 'Bobo, show me on the doll where the barbarian touched you.'
Duna sez, 'Is there anything else that needs to go in my backend?'
Pril sez, 'I'm too pretty to go to jail.'
Boboloppe sez, 'The only reason I joined Imphras was because of Sotana's ass.'
#CLASS {nasty} {disable}
#TRIGGER {E: (*) EC: nasty wounds (*)}{gsay %1 is at nasty wounds!!!;#t- nasty;#t+ ph;#t+ awf}
#CLASS 0
#CLASS {ph} {disable}
#TRIGGER {E: (*) EC: pretty hurt (*)}{gsay %1 is pretty hurt!!!;#t- ph;#t+ nasty;#t+ awf}
#CLASS 0
#CLASS {awf} {disable}
#TRIGGER {E: (*) EC: awful (*)}{gsay %1 is gonna die soon!;#t+ ph;#t+ nasty;#t- awf}
#CLASS 0
Copy each area into a new class, and put it on a button to enable/disable at will for spam purposes :)
#TRIGGER {E: (*) EC: nasty wounds (*)}{gsay %1 is at nasty wounds!!!;#t- nasty;#t+ ph;#t+ awf}
#CLASS 0
#CLASS {ph} {disable}
#TRIGGER {E: (*) EC: pretty hurt (*)}{gsay %1 is pretty hurt!!!;#t- ph;#t+ nasty;#t+ awf}
#CLASS 0
#CLASS {awf} {disable}
#TRIGGER {E: (*) EC: awful (*)}{gsay %1 is gonna die soon!;#t+ ph;#t+ nasty;#t- awf}
#CLASS 0
Copy each area into a new class, and put it on a button to enable/disable at will for spam purposes :)
"When a child is born, so is a grandmother."
-Italian Proverb
-Italian Proverb
Copy/paste this into a .txt file, and import it (ascii). Feel free to modify the gsay messages as you wish. "ccon" turns the script on, "ccoff" turns it off.
Code: Select all
#ALIAS ccon {#say Condition Caller On!;#t+ ConditionTrigs}
#ALIAS ccoff {#say Condition Caller Off!;#t- ConditionTrigs}
#CLASS {ConditionTrigs}
#TRIGGER {^You receive your share of experience.} {#t+ NastyWounds;#t+ PrettyHurt;#t+ Awful}
#CLASS 0
#CLASS {ConditionTrigs|NastyWounds}
#TRIGGER {^* E: %1 EC: nasty wounds >} {gsay %1 is at nasty wounds!;#t- NastyWounds;#t+ PrettyHurt;#t+ Awful}
#CLASS 0
#CLASS {ConditionTrigs|PrettyHurt}
#TRIGGER {^* E: %1 EC: pretty hurt >} {gsay %1 is pretty hurt!;#t- PrettyHurt;#t+ Awful;#t+ NastyWounds}
#CLASS 0
#CLASS {ConditionTrigs|Awful}
#TRIGGER {^* E: %1 EC: awful >} {gsay %1 is awful!; #t- Awful; #t+ PrettyHurt; #t+ NastyWounds}
#CLASS 0
Last edited by Yasden on Sat Jan 28, 2006 6:47 am, edited 1 time in total.
Support Your Addiction! Vote for TorilMUD Today!
Top Mud Sites: http://www.topmudsites.com/cgi-bin/topmuds/rankem.cgi?id=shev
Why Nerox is jealous of me:
Nerox tells you 'man this thing is kicking my ass and i have blisters!'
Nerox tells you 'ok attempting it again put tape on my fingers for easier sliding'
Top Mud Sites: http://www.topmudsites.com/cgi-bin/topmuds/rankem.cgi?id=shev
Why Nerox is jealous of me:
Nerox tells you 'man this thing is kicking my ass and i have blisters!'
Nerox tells you 'ok attempting it again put tape on my fingers for easier sliding'
Silly question, but do you have enemy/enemycond on your display?
If that's not it, make sure the folders are set as follows:
ConditionTrigs - enabled
NastyWounds - enabled
PrettyHurt - disabled
Awful - disabled
"ccon" will set the ConditionTrigs folder to enabled.
"ccoff" will set the ConditionTrigs folder to disabled.
As a general rule of thumb when copying ANY script into .txt, make sure you MAXIMIZE the window before pasting, that way unnecessary line breaks generated by a smaller window don't carry over into zMUD. Zugg either hasn't figured out how to make import read this yet or is oblivious to it (more likely the former than the latter).
This could also be the reason why it's not working. If you do try this, make sure you DELETE THE OLD CONDITIONTRIGS FOLDER FIRST. The aliases can stay, they'll just be overwritten since they're short enough and will be duplicate copies.
If that's not it, make sure the folders are set as follows:
ConditionTrigs - enabled
NastyWounds - enabled
PrettyHurt - disabled
Awful - disabled
"ccon" will set the ConditionTrigs folder to enabled.
"ccoff" will set the ConditionTrigs folder to disabled.
As a general rule of thumb when copying ANY script into .txt, make sure you MAXIMIZE the window before pasting, that way unnecessary line breaks generated by a smaller window don't carry over into zMUD. Zugg either hasn't figured out how to make import read this yet or is oblivious to it (more likely the former than the latter).
This could also be the reason why it's not working. If you do try this, make sure you DELETE THE OLD CONDITIONTRIGS FOLDER FIRST. The aliases can stay, they'll just be overwritten since they're short enough and will be duplicate copies.
Support Your Addiction! Vote for TorilMUD Today!
Top Mud Sites: http://www.topmudsites.com/cgi-bin/topmuds/rankem.cgi?id=shev
Why Nerox is jealous of me:
Nerox tells you 'man this thing is kicking my ass and i have blisters!'
Nerox tells you 'ok attempting it again put tape on my fingers for easier sliding'
Top Mud Sites: http://www.topmudsites.com/cgi-bin/topmuds/rankem.cgi?id=shev
Why Nerox is jealous of me:
Nerox tells you 'man this thing is kicking my ass and i have blisters!'
Nerox tells you 'ok attempting it again put tape on my fingers for easier sliding'
Delete the blank lines, that should take care of the problem.
Touk says 'ac > glorishan > mr > touk > hps'
Siamorphe OOC: 'If AFKing is the devil, then Corth is the Antichrist and Glorishan is the False Prophet who supports him.'
Referring to the guild on 8/28/06: Oghma responds to your petition with 'your leadership team averages 280 days MIA :('
Siamorphe OOC: 'If AFKing is the devil, then Corth is the Antichrist and Glorishan is the False Prophet who supports him.'
Referring to the guild on 8/28/06: Oghma responds to your petition with 'your leadership team averages 280 days MIA :('
Blank lines have nothing to do with a script's function.
I insert blank lines into my scripts for readability. My rescue script posted has blank lines and it imports just fine.
I insert blank lines into my scripts for readability. My rescue script posted has blank lines and it imports just fine.
Support Your Addiction! Vote for TorilMUD Today!
Top Mud Sites: http://www.topmudsites.com/cgi-bin/topmuds/rankem.cgi?id=shev
Why Nerox is jealous of me:
Nerox tells you 'man this thing is kicking my ass and i have blisters!'
Nerox tells you 'ok attempting it again put tape on my fingers for easier sliding'
Top Mud Sites: http://www.topmudsites.com/cgi-bin/topmuds/rankem.cgi?id=shev
Why Nerox is jealous of me:
Nerox tells you 'man this thing is kicking my ass and i have blisters!'
Nerox tells you 'ok attempting it again put tape on my fingers for easier sliding'
I tweaked that script a tiny bit, took out the 2 {disable} references. See if that works. You'll have to delete the original folder.
Support Your Addiction! Vote for TorilMUD Today!
Top Mud Sites: http://www.topmudsites.com/cgi-bin/topmuds/rankem.cgi?id=shev
Why Nerox is jealous of me:
Nerox tells you 'man this thing is kicking my ass and i have blisters!'
Nerox tells you 'ok attempting it again put tape on my fingers for easier sliding'
Top Mud Sites: http://www.topmudsites.com/cgi-bin/topmuds/rankem.cgi?id=shev
Why Nerox is jealous of me:
Nerox tells you 'man this thing is kicking my ass and i have blisters!'
Nerox tells you 'ok attempting it again put tape on my fingers for easier sliding'
Yasden wrote:Blank lines have nothing to do with a script's function.
I insert blank lines into my scripts for readability. My rescue script posted has blank lines and it imports just fine.
Some versions of zMUD don't handle blank lines very well, and rather than importing them, it sends it as input to the MUD.
Touk says 'ac > glorishan > mr > touk > hps'
Siamorphe OOC: 'If AFKing is the devil, then Corth is the Antichrist and Glorishan is the False Prophet who supports him.'
Referring to the guild on 8/28/06: Oghma responds to your petition with 'your leadership team averages 280 days MIA :('
Siamorphe OOC: 'If AFKing is the devil, then Corth is the Antichrist and Glorishan is the False Prophet who supports him.'
Referring to the guild on 8/28/06: Oghma responds to your petition with 'your leadership team averages 280 days MIA :('
-
- Sojourner
- Posts: 956
- Joined: Thu Feb 21, 2002 6:01 am
- Location: Copenhagen
And the short version:
Code: Select all
#CLASS {cond}
#TRIGGER {E: (%w) EC: ({nasty wounds|pretty hurt|awful}) P:} {#If (@cond != "%2") {@cond = %2;gsay %1 - @cond}}
#CLASS 0
Last edited by Disoputlip on Mon Oct 02, 2006 10:36 am, edited 1 time in total.
Yasden wrote:Silly question, but do you have enemy/enemycond on your display?
If that's not it, make sure the folders are set as follows:
ConditionTrigs - enabled
NastyWounds - enabled
PrettyHurt - disabled
Awful - disabled
"ccon" will set the ConditionTrigs folder to enabled.
"ccoff" will set the ConditionTrigs folder to disabled.
As a general rule of thumb when copying ANY script into .txt, make sure you MAXIMIZE the window before pasting, that way unnecessary line breaks generated by a smaller window don't carry over into zMUD. Zugg either hasn't figured out how to make import read this yet or is oblivious to it (more likely the former than the latter).
This could also be the reason why it's not working. If you do try this, make sure you DELETE THE OLD CONDITIONTRIGS FOLDER FIRST. The aliases can stay, they'll just be overwritten since they're short enough and will be duplicate copies.
Actually I managed to figure it out.
I have display position up. *bonk me* Fixed it! It works! Thanks!
-
- Sojourner
- Posts: 956
- Joined: Thu Feb 21, 2002 6:01 am
- Location: Copenhagen
Just saw a condition trigger go nuts, and I think the condition callers here sometimes can give a wrong line.
Here is workaround:
A trigger a. la.
E: (*) EC: nasty wounds (*)}{
then the * is a wildcard that means anything. if know something specific about the piece of text such as its 10 chars long etc. then you can define that instead of *. E: is always a word, thats defined %w. So trigger can become
E: (%w) EC: nasty wounds (*)}{
I think that will make trigger better for some.
Here is workaround:
A trigger a. la.
E: (*) EC: nasty wounds (*)}{
then the * is a wildcard that means anything. if know something specific about the piece of text such as its 10 chars long etc. then you can define that instead of *. E: is always a word, thats defined %w. So trigger can become
E: (%w) EC: nasty wounds (*)}{
I think that will make trigger better for some.
condition callers go wrong simply because people dont know to toggle them on and off
mine toggles on and off (as im sure targsk's does).. seen many people recently use it with no problem
why overdo something thats so simple :P
if I can do it anyone can .. im truly trigger ignorant
mine toggles on and off (as im sure targsk's does).. seen many people recently use it with no problem
why overdo something thats so simple :P
if I can do it anyone can .. im truly trigger ignorant
"When a child is born, so is a grandmother."
-Italian Proverb
-Italian Proverb
i made caller that works perfectly though ive had troubles importing txt files so i have to input my scripts manually so heres the instructions:
create new class folder named (example):conditioncall
inside of that folder create 3 more folders named awful, prettyhurt, nastywounds. do NOT put spaces in ive found that spaces like to cause trouble in some cases. in awful create new trigger enter the pattern:
E: %1 EC: awful
as the value put in:
gsay %1 is awful;#t- awful;#t+ prettyhurt;#t+ nastywounds
your awful trigger is done
for prettyhurt enter as pattern:
E: %1 EC: pretty hurt
as the value put in:
gsay %1 is pretty hurt;#t- prettyhurt;#t+ nastywounds;#t+ awful
and the pretty hurt trigger is done
then for your nastywounds pattern:
E: %1 EC: nasty wounds
as the value put:
gsay %1 is looking nasty;#t- nastywounds;#t+ awful;#t+ prettyhurt
make sure the folder conditioncall is enabled and make sure all 3 of the subfolders are enabled. then in the conditioncall folder not in the subfolders make a trigger:
pattern: You recieve your share of experience.
value: #t+ awful;#t+ prettyhurt;#t+ nastywounds and if it doesnt work send me pm and we will sort it out and the messages that you gsay can be changed but dont remove the %1 or they dont say the mob name it will just say the message anyone can use this that wants to and by the way it works for zmud V 7.21 if you have an erlier version it might not be compatible
create new class folder named (example):conditioncall
inside of that folder create 3 more folders named awful, prettyhurt, nastywounds. do NOT put spaces in ive found that spaces like to cause trouble in some cases. in awful create new trigger enter the pattern:
E: %1 EC: awful
as the value put in:
gsay %1 is awful;#t- awful;#t+ prettyhurt;#t+ nastywounds
your awful trigger is done
for prettyhurt enter as pattern:
E: %1 EC: pretty hurt
as the value put in:
gsay %1 is pretty hurt;#t- prettyhurt;#t+ nastywounds;#t+ awful
and the pretty hurt trigger is done
then for your nastywounds pattern:
E: %1 EC: nasty wounds
as the value put:
gsay %1 is looking nasty;#t- nastywounds;#t+ awful;#t+ prettyhurt
make sure the folder conditioncall is enabled and make sure all 3 of the subfolders are enabled. then in the conditioncall folder not in the subfolders make a trigger:
pattern: You recieve your share of experience.
value: #t+ awful;#t+ prettyhurt;#t+ nastywounds and if it doesnt work send me pm and we will sort it out and the messages that you gsay can be changed but dont remove the %1 or they dont say the mob name it will just say the message anyone can use this that wants to and by the way it works for zmud V 7.21 if you have an erlier version it might not be compatible
-
- Sojourner
- Posts: 956
- Joined: Thu Feb 21, 2002 6:01 am
- Location: Copenhagen
Changed my trigger a little. It's is a full cond caller even though it doesn't take up more space than it does.
Code: Select all
#CLASS {cond}
#VAR cond {}
#TRIGGER {E: (%w) EC: ({nasty wounds|pretty hurt|awful}) P:} {
#If (@cond != "%2") {
#VAR cond "%2" {_nodef} {cond}
gsay %1 - @cond
}
} "" {nocr|prompt}
#CLASS 0
#AL condon {#t+ cond;#echo cond caller on}
#AL condoff {#t- cond;#echo cond caller off}
Who is online
Users browsing this forum: No registered users and 22 guests