Register to post in forums, or Log in to your existing account
 
:
Search found 9 matches for:
Page 1 of 1
Author Message
  Topic: Multiline capture and LUA code
softballs

Replies: 2
Views: 4387

PostForum: CMUD General Discussion   Posted: Sat Sep 05, 2020 8:02 pm   Subject: Multiline capture and LUA code
#LUA {lua stuff}

OR

Have separate trigger(s) in the child window where the script language is set to lua.

My trigger has one trigger state which does:
#ADDITEM captcha_rows %line

Can I in ...
  Topic: Multiline capture and LUA code
softballs

Replies: 2
Views: 4387

PostForum: CMUD General Discussion   Posted: Thu Sep 03, 2020 1:18 pm   Subject: Multiline capture and LUA code
Hi,

I want a trigger that captures the next 6 lines which I can do with the #COND and LoopParams=6

But if I wanted to parse those 6 lines (after they are all captured) with LUA code how would I ...
  Topic: SOLVED - Hide return value of a function
softballs

Replies: 4
Views: 9225

PostForum: CMUD General Discussion   Posted: Thu Sep 24, 2015 1:35 am   Subject: SOLVED - Hide return value of a function
My list contains duplicates though so I cant use #additem
  Topic: SOLVED - Hide return value of a function
softballs

Replies: 4
Views: 9225

PostForum: CMUD General Discussion   Posted: Wed Sep 23, 2015 10:41 pm   Subject: SOLVED - Hide return value of a function
Yeah I didnt notice that at first, code updated to the following and now all is working:

#var path %additem("north", @path)
  Topic: SOLVED - Hide return value of a function
softballs

Replies: 4
Views: 9225

PostForum: CMUD General Discussion   Posted: Fri Sep 18, 2015 12:29 am   Subject: SOLVED - Hide return value of a function
I am using the following code:

#show %additem("north", path)

I do not want the return value to be sent to the mud that is why i use #show, but my question is can i use something else to just ign ...
  Topic: Walk - Kill - Repeat
softballs

Replies: 2
Views: 5265

PostForum: CMUD General Discussion   Posted: Wed Sep 16, 2015 11:51 pm   Subject: Walk - Kill - Repeat
Perhaps I could use a string list with the path and when i walk a room i could use %pop to remove it from the list. Even better would be if i could get the first item and put it last on the list again ...
  Topic: Walk - Kill - Repeat
softballs

Replies: 2
Views: 5265

PostForum: CMUD General Discussion   Posted: Wed Sep 16, 2015 11:40 pm   Subject: Walk - Kill - Repeat
Hi,

I was trying to setup a script that made my character walk from room to room in a specific path and kill predefined mobs if they are in the rooms. I have pretty much made it work using #slow, # ...
  Topic: Running CMUD in Windows 10
softballs

Replies: 6
Views: 16443

PostForum: CMUD General Discussion   Posted: Tue Sep 15, 2015 11:38 pm   Subject: Running CMUD in Windows 10
I am unable to enter my license for cmud pro 3.34 using windows 10, anyone else have this problem?
  Topic: Looping through multiple lines from mud
softballs

Replies: 1
Views: 4067

PostForum: CMUD General Discussion   Posted: Tue Sep 15, 2015 11:37 pm   Subject: Looping through multiple lines from mud
Hi all,

I have a script that reads 5 lines from the mud and then goes through a series of multiline triggers on them to find what I need. Problem is that i need to do this 3 times in order to get w ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net