Register to post in forums, or Log in to your existing account
 
:
Search found 217 matches for:
Page 1 of 9 Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Author Message
  Topic: using match and a string list off a pattern match
chris123zugg

Replies: 7
Views: 1510

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: 1510

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: 4
Views: 1183

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: 4
Views: 1183

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: 1437

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: 1122

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: 1437

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: 1744

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: 1744

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: 1744

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: 1744

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: 971

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: 4504

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: 12
Views: 2753

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: 12
Views: 2753

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: 12
Views: 2753

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: 12
Views: 2753

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: 12
Views: 2753

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: 1667

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!
  Topic: creating a new database part7 XD
chris123zugg

Replies: 6
Views: 1667

PostForum: CMUD General Discussion   Posted: Sun Mar 16, 2025 7:29 pm   Subject: creating a new database part7 XD
you are the man shalimar:P
  Topic: creating a new database part7 XD
chris123zugg

Replies: 6
Views: 1667

PostForum: CMUD General Discussion   Posted: Sun Mar 16, 2025 4:57 pm   Subject: creating a new database part7 XD
sooo hi there again everyone, im attempting to create a trigger that makes a database of who tapped me, and counts the times they tapped me
Then i can use this as a pure information and at a breakpoi ...
  Topic: Gauges
chris123zugg

Replies: 3
Views: 3276

PostForum: CMUD General Discussion   Posted: Tue Feb 18, 2025 11:11 pm   Subject: Gauges
Does one need to set a prompt in settings for this to work when using "prompt" in a trigger?
  Topic: database clearing
chris123zugg

Replies: 0
Views: 767

PostForum: CMUD General Discussion   Posted: Mon Feb 17, 2025 1:58 am   Subject: database clearing
How do i use #delkey to remove all items in %key and %val?

i've tried:
#delkey angreals %key %val


#loopdb angreals {%delkey(angreals,%key)}
#IF (%2>1) {#addkey angreals %1 %2}

this wor ...
  Topic: Guage problems
chris123zugg

Replies: 6
Views: 2304

PostForum: CMUD General Discussion   Posted: Sun Feb 16, 2025 6:51 pm   Subject: Guage problems
there's another post about this issue, the variables were never meant to be store like that so they sometimes get disappeared from cmud's memory file. the workaroud i found was to simple delete the bu ...
  Topic: Words to numbers building a function or db?
chris123zugg

Replies: 9
Views: 3194

PostForum: CMUD General Discussion   Posted: Sun Dec 29, 2024 9:02 pm   Subject: Words to numbers building a function or db?
Awesome! thanks shalimar!

now to use this function i simply use the command -> @w2n($numStr)
inside my capture of -> are thirty-nine runes invoking the power and strength of magic.

and it ...
 
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