|
xenoacts Newbie
Joined: 25 Feb 2002 Posts: 4 Location: USA
|
Posted: Mon Feb 25, 2002 9:54 pm
level var problem |
I have a question about a leveling trigger I have setup.
whois onex sets my level var to my current level. the text on the mud when I gain a level looks like
you rise a level!!
you rise a level!!
I'd like to be able to take both of those lines so it will only fire off one of them and then have it add 1 level to my current level var. any ideas?
-to conform is to lose what makes you unique- |
|
|
|
roth Newbie
Joined: 25 Feb 2002 Posts: 1 Location: Denmark
|
Posted: Tue Feb 26, 2002 12:01 am |
Try this out:
make a trigger with the pattern "you rise a level!!"
and the commands should be:
#add halflevel +1
#if @halflevel=2 {#add level +1
halflevel=0}
That should do it :)
-Roth
Roth |
|
|
|
xenoacts Newbie
Joined: 25 Feb 2002 Posts: 4 Location: USA
|
Posted: Tue Feb 26, 2002 12:09 am |
you sir are a pimp I never even thought of that..thanks a lot bro
-to conform is to lose what makes you unique- |
|
|
|
iljhar GURU
Joined: 10 Oct 2000 Posts: 1116 Location: USA
|
Posted: Tue Feb 26, 2002 12:37 am |
Or you can put it all in 1 trigger:
#trigger {you rise a level!!$you rise a level!!} {#add level 1}
Iljhar |
|
|
|
xenoacts Newbie
Joined: 25 Feb 2002 Posts: 4 Location: USA
|
Posted: Tue Feb 26, 2002 1:16 am |
the $ signs acts as a break?
btw another question
is there a way to make the windows that I have capturing tells have a command prompt that I can send replys in so I can just chat in one window?
-to conform is to lose what makes you unique- |
|
|
|
iljhar GURU
Joined: 10 Oct 2000 Posts: 1116 Location: USA
|
Posted: Tue Feb 26, 2002 6:35 am |
The $ acts as a newline in a trigger.
You can have a command line on the child window, but you won't be able to use it to reply to people. What you can do is create #oninput triggers if you're using umm...6.x and whatever you input in that window will be sent to the main window. Something like:
#oninput {(%*)} {:mainwindowname:%1}
It's kludgy, but it'll let you stay in the child window if you want to talk to people in it.
Iljhar |
|
|
|
xenoacts Newbie
Joined: 25 Feb 2002 Posts: 4 Location: USA
|
Posted: Tue Feb 26, 2002 4:24 pm |
tight
-to conform is to lose what makes you unique- |
|
|
|
|
|