Okay, this might be sloppy but think it might make xping alot easier (been at it 8 hours and chaning groups i am getting names confused).
What I'm looking do is this:
I want to be able to have an alias like -setrog- to find all rogues in group and set them to different alias like hr1 (haste rogue 1), etc. and same for globe.
but do it for all rogues in group
Any ideas?
Enchanter script help
Enchanter script help
Kaisi tells you 'get smirn, he's better than me'
--HELP! My legs aren't long enough!--
--HELP! My legs aren't long enough!--
To start with, you can't accomplish that using just an alias alone.
Your alias setrogue will have to turn on at least one trigger that will parse the output of the command who ingroup (could do who rogue ingroup but this will pass up anon types that you may at least want to be aware of).
So, a good place to begin is learning how to make a trigger that examines multiple lines of output.
Your alias setrogue will have to turn on at least one trigger that will parse the output of the command who ingroup (could do who rogue ingroup but this will pass up anon types that you may at least want to be aware of).
So, a good place to begin is learning how to make a trigger that examines multiple lines of output.
I dont use triggers for chanter. I use aliases tho, and set them up manually each time.
this is the alias ..
#al {glr}{glance rog;glance 2rog;glance 3rog;glance 4rog}
this is the variable
#va {rog}{Jim}
#va {2rog}{Leo}
#va {3rog}{{Joe}
#va {4rog}{Bob}
now if i type glr it glances at Jim, Leo, Joe, Bob in order
this is how i manually set them up at first
rog=Jim
2rog=Leo
3rog=Joe
4rog=Bob
I do the same thing for each class (warr, cler, invo, etc)
I can also group them together to glance everyone ..
#al {gtt}{glr;glw;glc;gli;}
so now if I type gtt it glances everyone I have assigned
To be honest I also have a trigger that gags the you dont see that here or whatever the text is, so if one of my assigned isnt in the room it doesnt spam me
I'm sure someone out there has something more difficult, more convoluted, that if you just type group it adds everyoen in there, but I dont use that, I dont like to mechanicalize everything about a class, you need to learn to do it manually or at least just simplify it.
-Telina drow enchanter
-Alieshie grey elf enchanter
this is the alias ..
#al {glr}{glance rog;glance 2rog;glance 3rog;glance 4rog}
this is the variable
#va {rog}{Jim}
#va {2rog}{Leo}
#va {3rog}{{Joe}
#va {4rog}{Bob}
now if i type glr it glances at Jim, Leo, Joe, Bob in order
this is how i manually set them up at first
rog=Jim
2rog=Leo
3rog=Joe
4rog=Bob
I do the same thing for each class (warr, cler, invo, etc)
I can also group them together to glance everyone ..
#al {gtt}{glr;glw;glc;gli;}
so now if I type gtt it glances everyone I have assigned
To be honest I also have a trigger that gags the you dont see that here or whatever the text is, so if one of my assigned isnt in the room it doesnt spam me
I'm sure someone out there has something more difficult, more convoluted, that if you just type group it adds everyoen in there, but I dont use that, I dont like to mechanicalize everything about a class, you need to learn to do it manually or at least just simplify it.
-Telina drow enchanter
-Alieshie grey elf enchanter
"When a child is born, so is a grandmother."
-Italian Proverb
-Italian Proverb
nogs ambar.. i'm just a slow typer so i thought i'd try and save time while group is gathering etc. so i don't make everyone wait when i get into bigger groups. guess i just need to type faster :P hehe
thanks for feed back though
i jerry-rigged it for now
#alias settank {#var @tank = %1} etc. for rogues also. At this point i haven't needed to do clerics but i guess from what i'm reading in other posts i should go ahead and set that up too. i wasn't aware that you could glance at the whole group though so i need to start looking into that and what feedback i get from the mud when i do it.
thanks for feed back though
i jerry-rigged it for now
#alias settank {#var @tank = %1} etc. for rogues also. At this point i haven't needed to do clerics but i guess from what i'm reading in other posts i should go ahead and set that up too. i wasn't aware that you could glance at the whole group though so i need to start looking into that and what feedback i get from the mud when i do it.
Kaisi tells you 'get smirn, he's better than me'
--HELP! My legs aren't long enough!--
--HELP! My legs aren't long enough!--
-
- Sojourner
- Posts: 956
- Joined: Thu Feb 21, 2002 6:01 am
- Location: Copenhagen
Not sure you want to learn zMud, or just want the scripts. But...
Here is a primer to a few concepts.
Lists:
you need to make a list, a list looks sort of like
Anne|Bob|Casper
to add to a list you use
#ADDITEM RogueArray Anne
#ADDITEM RogueArray Bob
#ADDITEM RogueArray Casper
To clear a list
@RogueArray =
Then you need the aliases. since your rogues always is in the list just make them like this
#AL hr1 {cast 'haste' @RogueArray.1
#AL hr2 {cast 'haste' @RogueArray.2
#AL hr3 {cast 'haste' @RogueArray.3
Then you need a trigger to fill the array. the important here is you make a class you turn on before you begin, and turn off after you end the who.
#t+ BuildRogueArray
@RogueArray =
who ingroup rogue
then inside the class BuildRogueArray is a trigger
#tr {~] (%w)} {#ADDITEM RogueArray %1}
#tr {Total visible} {t- BuildRogueArray}
Here is a primer to a few concepts.
Lists:
you need to make a list, a list looks sort of like
Anne|Bob|Casper
to add to a list you use
#ADDITEM RogueArray Anne
#ADDITEM RogueArray Bob
#ADDITEM RogueArray Casper
To clear a list
@RogueArray =
Then you need the aliases. since your rogues always is in the list just make them like this
#AL hr1 {cast 'haste' @RogueArray.1
#AL hr2 {cast 'haste' @RogueArray.2
#AL hr3 {cast 'haste' @RogueArray.3
Then you need a trigger to fill the array. the important here is you make a class you turn on before you begin, and turn off after you end the who.
#t+ BuildRogueArray
@RogueArray =
who ingroup rogue
then inside the class BuildRogueArray is a trigger
#tr {~] (%w)} {#ADDITEM RogueArray %1}
#tr {Total visible} {t- BuildRogueArray}
Who is online
Users browsing this forum: No registered users and 18 guests