Register to post in forums, or Log in to your existing account
 
:
Search found 223 matches for:
Page 1 of 9 Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Author Message
  Topic: capturing ansi letters/words in sentences
chris123zugg

Replies: 3
Views: 113

PostForum: CMUD General Discussion   Posted: Thu Jul 23, 2026 4:19 pm   Subject: capturing ansi letters/words in sentences
its 3 generalized phrases but has a random letter(s) added to the prhase, and the prhase(s) also change depending on which monster you're fighting. so ive been wracking my brain trying to JUST capture ...
  Topic: capturing ansi letters/words in sentences
chris123zugg

Replies: 3
Views: 113

PostForum: CMUD General Discussion   Posted: Wed Jul 15, 2026 11:26 am   Subject: capturing ansi letters/words in sentences
i need to be able to capture a series of ansi colored letters in a block of text and then use those letters, any idea how to go about this?
  Topic: New data capture, line item changes, need help please
chris123zugg

Replies: 6
Views: 5144

PostForum: CMUD General Discussion   Posted: Sat Jul 11, 2026 4:36 pm   Subject: New data capture, line item changes, need help please
Trying to revisit this a sec:
What about a way to count how many there and then add that all to a dbvar?
then the list is populated with % etc and i can then use that dbvar to spit out a name/%/etc?
  Topic: timer to levelling
chris123zugg

Replies: 6
Views: 5963

PostForum: CMUD General Discussion   Posted: Wed Jun 25, 2025 9:36 pm   Subject: timer to levelling
gxptimeround = (%eval(@secs / 60 / 60)h : %mod(@secs / 60, 60)m : %mod(@secs, 60)s)

this is directly from #help %mod, which is what you'd use to break down the total rounds needed for the next "lev ...
  Topic: time formatting not working?
chris123zugg

Replies: 15
Views: 12445

PostForum: CMUD General Discussion   Posted: Wed Jun 25, 2025 9:32 pm   Subject: time formatting not working?
hrrrm some variable is trying to play games with me! ill re-check the base variables... thanks S.
  Topic: time formatting not working?
chris123zugg

Replies: 15
Views: 12445

PostForum: CMUD General Discussion   Posted: Thu Jun 19, 2025 8:35 pm   Subject: time formatting not working?
10h 31s 37711 <-- is the printout of the working function you made...
im not sure why the d, h, m, s arent displayed with $timer.. but its showing what i supplied above.
  Topic: using match and a string list off a pattern match
chris123zugg

Replies: 7
Views: 7308

PostForum: CMUD General Discussion   Posted: Fri May 02, 2025 12:33 pm   Subject: using match and a string list off a pattern match
SOrry this is the capture..

Party~:(*)
#IF %match(%1, %ismember("%1", "@partytoons")) {} (edited)
  Topic: using match and a string list off a pattern match
chris123zugg

Replies: 7
Views: 7308

PostForum: CMUD General Discussion   Posted: Wed Apr 30, 2025 9:16 pm   Subject: using match and a string list off a pattern match
Player: (*) is the capture
i then need it to match the capture to the string list and do or not do something... this according to the #help file should work?

#IF %match(%1, %ismember(" ...
  Topic: New data capture, line item changes, need help please
chris123zugg

Replies: 6
Views: 5144

PostForum: CMUD General Discussion   Posted: Wed Apr 30, 2025 9:15 pm   Subject: New data capture, line item changes, need help please
that worked but is too ghreedy and goes after any combination of that pattern, i need it to work within the original hook to stop there.
  Topic: New data capture, line item changes, need help please
chris123zugg

Replies: 6
Views: 5144

PostForum: CMUD General Discussion   Posted: Sun Apr 27, 2025 7:16 pm   Subject: New data capture, line item changes, need help please

<+>========================================================================<+>
| Form Lvl Next Pt | Form Lvl Next Pt |
|------------------------- ...
  Topic: round to round iunt adjusting per round...
chris123zugg

Replies: 5
Views: 5966

PostForum: CMUD General Discussion   Posted: Wed Apr 16, 2025 8:41 pm   Subject: round to round iunt adjusting per round...
well no gxprd = 204 should be added by being in a different trigger each round, its a global variable, which is inside the output per round for my HuD from the mud.
  Topic: unbold %ansi without reset
chris123zugg

Replies: 3
Views: 4272

PostForum: CMUD General Discussion   Posted: Tue Apr 15, 2025 12:16 am   Subject: unbold %ansi without reset
you can also use the hexidecimal codes for %ansi...

%ansi(41)HI THERE%ansi(reset)
  Topic: round to round iunt adjusting per round...
chris123zugg

Replies: 5
Views: 5966

PostForum: CMUD General Discussion   Posted: Mon Apr 14, 2025 11:40 pm   Subject: round to round iunt adjusting per round...
gxprd=204
skxprd=(@gxprd+@gxpsp)
#show @gxprd @gxpsp @skxprd
this is inside a trigger capturing round to round, and this should be adding +204 a round but isnt...
this should be updating +204 eve ...
  Topic: Trying to use match for a script
chris123zugg

Replies: 7
Views: 6355

PostForum: CMUD General Discussion   Posted: Sun Apr 06, 2025 7:19 pm   Subject: Trying to use match for a script
sorry yes they do.


~Section 15 (w,d,u,sw)
!A Leago [wounded] attacking you!.
!A Leago.
  Topic: Trying to use match for a script
chris123zugg

Replies: 7
Views: 6355

PostForum: CMUD General Discussion   Posted: Sun Apr 06, 2025 1:55 pm   Subject: Trying to use match for a script
^!(*)$ is the pattern match
however the ! is ONLY for monsters, so there's no way to really make this fail based on other things in the "room"
as there is never anything in the room desc etc. that ...
  Topic: Trying to use match for a script
chris123zugg

Replies: 7
Views: 6355

PostForum: CMUD General Discussion   Posted: Sun Apr 06, 2025 11:58 am   Subject: Trying to use match for a script

<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<trigger name="seczmobs" type="Loop Pattern" param="10" priority="240&qu ...
  Topic: Trying to use match for a script
chris123zugg

Replies: 7
Views: 6355

PostForum: CMUD General Discussion   Posted: Thu Apr 03, 2025 10:27 pm   Subject: Trying to use match for a script
$monsters = 0
#IF %match(%1, "A Spiral Gun") {$monsters = $monsters+1;monster = "gun"}
#IF %match(%1, "A Groma") {$monsters = $monsters+1 ...
  Topic: Gagging double spam in Cmud
chris123zugg

Replies: 2
Views: 3496

PostForum: CMUD General Discussion   Posted: Mon Mar 31, 2025 12:11 am   Subject: Gagging double spam in Cmud
1: check to see if there's an option in game
2: what specifically is what the familiar "shows", and is there a distintive opening such as the ">>"?
3: if its the ">>" then use a trigger ...
  Topic: #GAG not working suddenly
chris123zugg

Replies: 5
Views: 8704

PostForum: CMUD General Discussion   Posted: Thu Mar 20, 2025 12:54 am   Subject: #GAG not working suddenly
you can save the entire package as an xml, then delete the .pkg, and all the other settings and open a new profile and import the .xml, its what i do when things blow up
  Topic: time formatting not working?
chris123zugg

Replies: 15
Views: 12445

PostForum: CMUD General Discussion   Posted: Tue Mar 18, 2025 7:48 pm   Subject: time formatting not working?
**EDIT**
and the hours aren't showing, but i think i broke something when i added a space somewhere ?


#LOCAL $time
$tot=(%2/@gxprd)
$cur=$tot
#while $cur {#SWITCH ($cur > 86400) {
$da ...
  Topic: time formatting not working?
chris123zugg

Replies: 15
Views: 12445

PostForum: CMUD General Discussion   Posted: Mon Mar 17, 2025 12:21 pm   Subject: time formatting not working?
3108h 12s 74592 <-- is the output from that script, i think the issue is this mud uses 2 seconds per round, so it's not propgating correctly, do i just change seconds to 30 instead of 60?
and the ...
  Topic: time formatting not working?
chris123zugg

Replies: 15
Views: 12445

PostForum: CMUD General Discussion   Posted: Mon Mar 17, 2025 3:36 am   Subject: time formatting not working?
sorry shalimar, wehn i added this in the trigger, it shows error and doesnt work
  Topic: time formatting not working?
chris123zugg

Replies: 15
Views: 12445

PostForum: CMUD General Discussion   Posted: Mon Mar 17, 2025 2:05 am   Subject: time formatting not working?
hrrrm ok, ill re-draw it all. and the top line is the capture...
  Topic: time formatting not working?
chris123zugg

Replies: 15
Views: 12445

PostForum: CMUD General Discussion   Posted: Sun Mar 16, 2025 11:45 pm   Subject: time formatting not working?
//GXP:93031026 G2N:18110(99.0977) WPN:Immaculate COF:20/20 MOB: emergency
G2N is where this is pulling the capture from



gxprd=21
//gxp
$wardergxp = %int(%2)
$warderrds = (($wardergxp / @gx ...
  Topic: creating a new database part7 XD
chris123zugg

Replies: 6
Views: 5682

PostForum: CMUD General Discussion   Posted: Sun Mar 16, 2025 7:59 pm   Subject: creating a new database part7 XD
nice, im gonna use this :) thanks again!
 
Page 1 of 9 Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net