Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
azurerazor
Beginner


Joined: 17 Dec 2001
Posts: 20
Location: USA

PostPosted: Sat Jun 02, 2018 2:08 am   

Mapper for Shadows of Isildur
 
Interest in getting a mapper working for SOI

Originally found and got involved with this thread -> http://forums.zuggsoft.com/forums/viewtopic.php?p=177738

Anyway I'm using this code

#trigger {^([%w%s])$} {#tag name "%1"}
#condition {^Exits: ([%w%s])$} {#tag exit "%1";RoomDesc = "";#T+ tRoomDesc}
#condition {#TR {<([~*%s])/([~^%s])/([~|%s])> } {health=%len(%trim(%1));trauma=%len(%trim(%2));fatigue=%len(%trim(%3));#SUB {}}} {#T- tRoomDesc;#tag desc @RoomDesc} {nocr|prompt}
#trigger "tRoomDesc" {^([%w%s,-.?!])$} {RoomDesc = %additem("%1",@RoomDesc)}

Getting unmatched braces error when submitting it.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Sat Jun 02, 2018 3:13 am   
 
Code:
#condition {#TR {<([~*%s])/([~^%s])/([~|%s])> } {health=%len(%trim(%1));trauma=%len(%trim(%2));fatigue=%len(%trim(%3));#SUB {}}} {#T- tRoomDesc;#tag desc @RoomDesc} {nocr|prompt}

You have a condition defining a separate trigger with an improper class assignment.
Since you likely have that prompt trigger running separate elsewhere, the meat of it can be tossed out here in favor of what this trigger needs.

You want:

Code:
#condition {<([~*%s])/([~^%s])/([~|%s])> } {#T- tRoomDesc;#tag desc @RoomDesc} {prompt}
_________________
Discord: Shalimarwildcat
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net