Looking into portals and saying room names seen

Scripts and support for your favorite MUD client.
Ssnyss
Sojourner
Posts: 25
Joined: Tue Jan 23, 2007 12:53 am

Looking into portals and saying room names seen

Postby Ssnyss » Thu Mar 29, 2007 9:42 pm

Anyone have a simple trigger or whatever set up to do this? I just want it to look in the portal and tell group the room name i'm looking at.
Gizep
Sojourner
Posts: 150
Joined: Thu Mar 10, 2005 4:34 pm
Location: Menzoberranzan
Contact:

Postby Gizep » Thu Mar 29, 2007 11:26 pm

#CLASS {Gate}
#TRIGGER {^({%w}) tells you ~'gate ({%w}){*}~'} {#if (@Casting == 0 & @Standing == 1 & @GateBot == 0) {#var GateTarget {%1} {} "Variables";#var GatePlane {%2} {} "Variables";#var Gating {1} {0} "Variables";tell %1 Gating %2;gate %2;#var GateBot {1} {0} "Variables"}}
#TRIGGER {You complete your spell...$There is a slight breeze as the dusts swirl around and condense$into {*} portal.$} {l in portal}
#TRIGGER {You peer into {*} and see...$({*})$} {#var RoomName {%1} {} "Variables";#if (@Gating == 1 & @GateBot == 1) {tell @GateTarget %1} {gsay %1};#Var Gating {0} {0} "Variables";#var GateBot {0} {0} "Variables";#var GateTarget {} {} "Variables";#var GatePlane {} {} "Variables"}
#TRIGGER {You don't have that spell memorized.} {#IF (@GateBot == 1) {tell @GateTarget Loading....Please.....Wait.....;mgate;#var GateBot {1} {0} "Variables"}}
#TRIGGER {You clamber to your feet.} {#if (@GateBot == 1) {tell @GateTarget Gating @GatePlane;gate @GatePlane;#var GateBot {1} {0} "Variables";#var Gating {1} {0} "Variables"}}
#TRIGGER {^~<P>{%s}({%w}) tells you ~'gate ({%w}){*}~'} {#if (@Casting == 0 & @Standing == 1 & @GateBot == 0) {#var GateTarget {%1} {} "Variables";#var GatePlane {%2} {} "Variables";#var Gating {1} {0} "Variables";tell %1 Gating %2;gate %2;#var GateBot {1} {0} "Variables"}}
#CLASS 0
As long as we live in this world we are bound to encounter problems. If, at such times, we lose hope and become discouraged, we diminish our ability to face difficulties. If, on the other hand, we remember that it is not just ourselves but everyone who has to undergo suffering, this more realistic perspective will increase our determination and capacity to overcome troubles.
-- The Dali Lama
Gizep
Sojourner
Posts: 150
Joined: Thu Mar 10, 2005 4:34 pm
Location: Menzoberranzan
Contact:

Postby Gizep » Thu Mar 29, 2007 11:28 pm

oops forgot the aliases

mgate
forget all your 9th circle
mem all gates

gate
cast 'gate' %1

duh :)
As long as we live in this world we are bound to encounter problems. If, at such times, we lose hope and become discouraged, we diminish our ability to face difficulties. If, on the other hand, we remember that it is not just ourselves but everyone who has to undergo suffering, this more realistic perspective will increase our determination and capacity to overcome troubles.
-- The Dali Lama
Ssnyss
Sojourner
Posts: 25
Joined: Tue Jan 23, 2007 12:53 am

Postby Ssnyss » Fri Mar 30, 2007 2:53 pm

Sadly, it doesnt work at all. I Think theres some varialbles and parts missing to make it function. Siigh lol.
Birile
Sojourner
Posts: 1413
Joined: Wed Dec 11, 2002 6:01 am
Location: Albany, NY

Postby Birile » Fri Mar 30, 2007 4:00 pm

Actually, if I'm not mistaken, Gizep uses this sort of thing in-game already. It's possible he missed something, but I'm rather certain he does use _something_. :)
Jhorr
Sojourner
Posts: 515
Joined: Sun Feb 25, 2001 6:01 am

Postby Jhorr » Sat Mar 31, 2007 2:38 am

<removed>
Last edited by Jhorr on Sat Mar 31, 2007 2:41 am, edited 1 time in total.
Jhorr
Sojourner
Posts: 515
Joined: Sun Feb 25, 2001 6:01 am

Postby Jhorr » Sat Mar 31, 2007 2:38 am

<removed>
Last edited by Jhorr on Sat Mar 31, 2007 2:42 am, edited 1 time in total.
Jhorr
Sojourner
Posts: 515
Joined: Sun Feb 25, 2001 6:01 am

Postby Jhorr » Sat Mar 31, 2007 2:39 am

The trigger set depends on the variables GateBot, Casting, and Standing being set to 0 or 1 it seems...
Kegor
Sojourner
Posts: 666
Joined: Wed Feb 28, 2001 6:01 am
Location: St. Cloud, MN
Contact:

Postby Kegor » Sat Mar 31, 2007 12:59 pm

I just want it to look in the portal and tell group the room name i'm looking at.


Code: Select all

#TRIG {You peer into (*) and see...$%1} {Gsay %1}
Ambar
Sojourner
Posts: 2872
Joined: Tue Jul 02, 2002 5:01 am
Location: Our House in Va.
Contact:

Postby Ambar » Sat Mar 31, 2007 1:35 pm

Edited Jaznolg's a tiny bit ..

#TRIG {You peer into (*) and see...$(*)}{gsay %2}
"When a child is born, so is a grandmother."

-Italian Proverb
Ssnyss
Sojourner
Posts: 25
Joined: Tue Jan 23, 2007 12:53 am

Postby Ssnyss » Wed Apr 04, 2007 11:04 pm

Thanks :)

Return to “MUD Client Help”

Who is online

Users browsing this forum: No registered users and 3 guests