prompt trouble

Scripts for zMUD and CMUD

prompt trouble

Postby marushu » Tue Oct 11, 2005 1:35 pm

Was hoping maybe one of talented coders could help me :)

I cannot seem to get my script to capture the prompt correctly. For some reason it does not store anything inside the variables. Any help would be greatly appreciated.

[code:uosik3mm]#CLASS {Prompt} {enable}
#VAR hp {}
#VAR maxhp {}
#VAR ma {}
#VAR maxma {}
#VAR mv {}
#VAR maxmv {}
#TRIGGER {^~<(%1)/(%2)hp (%3)/(%4)ma (%5)/(%6)mv~>} {
#VAR hp %1
#VAR maxhp %2
#VAR ma %3
#VAR maxma %4
#VAR mv %5
#VAR maxmv %6
} "" {nocr|prompt}
#CLASS 0
[/code:uosik3mm]
marushu
 
Posts: 2
Joined: Tue Oct 11, 2005 1:27 pm
Status: Offline

Return to zMUD/CMUD Scripts

Who is online

Users browsing this forum: No registered users and 1 guest